mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: don't center view if maximized
This commit is contained in:
		
							parent
							
								
									ace738dbca
								
							
						
					
					
						commit
						dd8a7a29e1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -491,7 +491,7 @@ void view_initial_focus(struct roots_view *view) {
 | 
				
			||||||
void view_setup(struct roots_view *view) {
 | 
					void view_setup(struct roots_view *view) {
 | 
				
			||||||
	view_initial_focus(view);
 | 
						view_initial_focus(view);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (view->fullscreen_output == NULL) {
 | 
						if (view->fullscreen_output == NULL && !view->maximized) {
 | 
				
			||||||
		view_center(view);
 | 
							view_center(view);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue