aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index b5df907d..e0c44b39 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -293,6 +293,8 @@ static void handle_commit(struct wl_listener *listener, void *data) {
// It maps at a small size then changes afterwards.
view->width = state->width;
view->height = state->height;
+ view->swayc->current.view_width = state->width;
+ view->swayc->current.view_height = state->height;
container_set_geometry_from_floating_view(view->swayc);
transaction_commit_dirty();
}