aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
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);
}
}