mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
							parent
							
								
									c0e4522202
								
							
						
					
					
						commit
						5a1d95ac2a
					
				
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -959,6 +959,11 @@ void arrange_windows(swayc_t *container, double width, double height) {
 | 
				
			||||||
	update_visibility(container);
 | 
						update_visibility(container);
 | 
				
			||||||
	arrange_windows_r(container, width, height);
 | 
						arrange_windows_r(container, width, height);
 | 
				
			||||||
	layout_log(&root_container, 0);
 | 
						layout_log(&root_container, 0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						for (int i = 0; i < desktop_shell.backgrounds->length; ++i) {
 | 
				
			||||||
 | 
							struct background_config *bg = desktop_shell.backgrounds->items[i];
 | 
				
			||||||
 | 
							wlc_view_send_to_back(bg->handle);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -309,10 +309,6 @@ bool workspace_switch(swayc_t *workspace) {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT);
 | 
						swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT);
 | 
				
			||||||
	arrange_windows(output, -1, -1);
 | 
						arrange_windows(output, -1, -1);
 | 
				
			||||||
	for (int i = 0; i < desktop_shell.backgrounds->length; ++i) {
 | 
					 | 
				
			||||||
		struct background_config *bg = desktop_shell.backgrounds->items[i];
 | 
					 | 
				
			||||||
		wlc_view_send_to_back(bg->handle);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	return true;
 | 
						return true;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue