mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #563 from mikkeloscar/fix-border-reset
Correctly reset border geometry
This commit is contained in:
		
						commit
						60c599a5a9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -469,8 +469,8 @@ void update_geometry(swayc_t *container) {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (swayc_is_fullscreen(container)) {
 | 
						if (swayc_is_fullscreen(container)) {
 | 
				
			||||||
		container->border_geometry = (const struct wlc_geometry){0};
 | 
							container->border_geometry = wlc_geometry_zero;
 | 
				
			||||||
		container->title_bar_geometry = (const struct wlc_geometry){0};
 | 
							container->title_bar_geometry = wlc_geometry_zero;
 | 
				
			||||||
	} else if (container->is_floating) { // allocate border for floating window
 | 
						} else if (container->is_floating) { // allocate border for floating window
 | 
				
			||||||
		update_border_geometry_floating(container, &geometry);
 | 
							update_border_geometry_floating(container, &geometry);
 | 
				
			||||||
	} else if (!container->is_floating) { // allocate border for titled window
 | 
						} else if (!container->is_floating) { // allocate border for titled window
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue