mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #2170 from apreiml/master
fix accidently removing borders on XCB_CONFIGURE_REQUEST
This commit is contained in:
		
						commit
						92e81df470
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -335,9 +335,9 @@ static void handle_request_configure(struct wl_listener *listener, void *data) {
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if (container_is_floating(view->swayc)) {
 | 
						if (container_is_floating(view->swayc)) {
 | 
				
			||||||
		configure(view, view->swayc->x, view->swayc->y, ev->width, ev->height);
 | 
							configure(view, view->x, view->y, ev->width, ev->height);
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		configure(view, view->swayc->x, view->swayc->y,
 | 
							configure(view, view->x, view->y,
 | 
				
			||||||
			view->width, view->height);
 | 
								view->width, view->height);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue