mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix crash when moving mouse over a fullscreen split container
This commit is contained in:
		
							parent
							
								
									9d168a693d
								
							
						
					
					
						commit
						eccfcde2eb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -464,7 +464,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
 | 
			
		|||
				struct sway_node *next_focus =
 | 
			
		||||
					seat_get_focus_inactive(seat, &root->node);
 | 
			
		||||
				if (next_focus && next_focus->type == N_CONTAINER &&
 | 
			
		||||
						node->sway_container->view &&
 | 
			
		||||
						next_focus->sway_container->view &&
 | 
			
		||||
						view_is_visible(next_focus->sway_container->view)) {
 | 
			
		||||
					seat_set_focus_warp(seat, next_focus, false, true);
 | 
			
		||||
				}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue