diff options
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 8b39cf50..4cd5f9d0 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -412,7 +412,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { | |||
412 | desktop_damage_view(view); | 412 | desktop_damage_view(view); |
413 | memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); | 413 | memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); |
414 | if (container_is_floating(view->container)) { | 414 | if (container_is_floating(view->container)) { |
415 | view_update_size(view, new_geo.width, new_geo.height); | 415 | view_update_size(view); |
416 | transaction_commit_dirty(); | 416 | transaction_commit_dirty(); |
417 | } else { | 417 | } else { |
418 | view_center_surface(view); | 418 | view_center_surface(view); |