mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	layout fix for a certain case
This commit is contained in:
		
							parent
							
								
									076cf78d7c
								
							
						
					
					
						commit
						c9de300888
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -259,6 +259,8 @@ void move_container(swayc_t *container, enum movement_direction dir) {
 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						// Dirty hack to fix a certain case
 | 
				
			||||||
 | 
						arrange_windows(parent, -1, -1);
 | 
				
			||||||
	arrange_windows(parent->parent, -1, -1);
 | 
						arrange_windows(parent->parent, -1, -1);
 | 
				
			||||||
	update_visibility(parent->parent);
 | 
						update_visibility(parent->parent);
 | 
				
			||||||
	set_focused_container_for(parent->parent, container);
 | 
						set_focused_container_for(parent->parent, container);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue