mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix floating views not receiving frame events
That happened when they were in tabbed or stacked containers. Fixes #2161
This commit is contained in:
		
							parent
							
								
									d3ea07f828
								
							
						
					
					
						commit
						4de28bba68
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -948,7 +948,7 @@ bool view_is_visible(struct sway_view *view) {
 | 
			
		|||
	// Check view isn't in a tabbed or stacked container on an inactive tab
 | 
			
		||||
	struct sway_seat *seat = input_manager_current_seat(input_manager);
 | 
			
		||||
	struct sway_container *container = view->swayc;
 | 
			
		||||
	while (container->type != C_WORKSPACE) {
 | 
			
		||||
	while (container->type != C_WORKSPACE && container->layout != L_FLOATING) {
 | 
			
		||||
		if (container->parent->layout == L_TABBED ||
 | 
			
		||||
				container->parent->layout == L_STACKED) {
 | 
			
		||||
			if (seat_get_active_child(seat, container->parent) != container) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue