mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	dont swap floating containers
This commit is contained in:
		
							parent
							
								
									24f4b92ea2
								
							
						
					
					
						commit
						08faffdd76
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -293,7 +293,8 @@ void pointer_mode_update(void) {
 | 
			
		|||
	case M_TILING | M_DRAGGING:
 | 
			
		||||
		// swap current view under pointer with dragged view
 | 
			
		||||
		if (pointer_state.view && pointer_state.view->type == C_VIEW
 | 
			
		||||
				&& pointer_state.view != initial.ptr) {
 | 
			
		||||
				&& pointer_state.view != initial.ptr
 | 
			
		||||
				&& !pointer_state.view->is_floating) {
 | 
			
		||||
			// Swap them around
 | 
			
		||||
			swap_container(pointer_state.view, initial.ptr);
 | 
			
		||||
			update_geometry(pointer_state.view);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue