mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Add a missing null check for moving tiling containers
This commit is contained in:
		
							parent
							
								
									08815f9cfb
								
							
						
					
					
						commit
						d129108cdd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -897,7 +897,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Handle moving a tiling container
 | 
						// Handle moving a tiling container
 | 
				
			||||||
	if (config->tiling_drag && mod_pressed && state == WLR_BUTTON_PRESSED &&
 | 
						if (config->tiling_drag && mod_pressed && state == WLR_BUTTON_PRESSED &&
 | 
				
			||||||
			!is_floating_or_child && !cont->is_fullscreen) {
 | 
								!is_floating_or_child && cont && !cont->is_fullscreen) {
 | 
				
			||||||
		seat_pointer_notify_button(seat, time_msec, button, state);
 | 
							seat_pointer_notify_button(seat, time_msec, button, state);
 | 
				
			||||||
		seat_begin_move_tiling(seat, cont, button);
 | 
							seat_begin_move_tiling(seat, cont, button);
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue