aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-27 17:11:35 +0100
committerGitHub <noreply@github.com>2018-06-27 17:11:35 +0100
commit92e81df470b040f57f020cef4d8dec67097d0ed6 (patch)
tree593896c7ecf5e6a75f5d2748ff561e651c65737f /sway/desktop/xwayland.c
parent1579fc1d91468ce4d29701b4b1c8be6e635f21ff (diff)
parentc4b900c1e04ec45b481a3f05870d8b4a6c49e386 (diff)
Merge pull request #2170 from apreiml/master
fix accidently removing borders on XCB_CONFIGURE_REQUEST
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index eb39dc4b..df5f6698 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -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);
}
}