mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
fix accidently removing borders on XCB_CONFIGURE_REQUEST
The view was configured with the container coordinates. Although they were right on the first configure, they changed after a XCB_CONFIGURE_REQUEST, when the border was already drawn.
This commit is contained in:
parent
1579fc1d91
commit
c4b900c1e0
@ -335,9 +335,9 @@ static void handle_request_configure(struct wl_listener *listener, void *data) {
|
||||
return;
|
||||
}
|
||||
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 {
|
||||
configure(view, view->swayc->x, view->swayc->y,
|
||||
configure(view, view->x, view->y,
|
||||
view->width, view->height);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user