mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	arrange windows after output add
This commit is contained in:
		
							parent
							
								
									a3ae67af4e
								
							
						
					
					
						commit
						9510a20fcd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -286,6 +286,8 @@ void handle_new_output(struct wl_listener *listener, void *data) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wl_signal_add(&wlr_output->events.destroy, &output->output_destroy);
 | 
						wl_signal_add(&wlr_output->events.destroy, &output->output_destroy);
 | 
				
			||||||
	output->output_destroy.notify = handle_output_destroy;
 | 
						output->output_destroy.notify = handle_output_destroy;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						arrange_windows(&root_container, -1, -1);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void handle_output_destroy(struct wl_listener *listener, void *data) {
 | 
					void handle_output_destroy(struct wl_listener *listener, void *data) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue