aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r--sway/desktop/xdg_shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
index 4c13f91f..0ac2c55d 100644
--- a/sway/desktop/xdg_shell.c
+++ b/sway/desktop/xdg_shell.c
@@ -298,8 +298,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
298 memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); 298 memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box));
299 if (container_is_floating(view->container)) { 299 if (container_is_floating(view->container)) {
300 view_update_size(view); 300 view_update_size(view);
301 transaction_commit_dirty(); 301 transaction_commit_dirty_client();
302 transaction_notify_view_ready_immediately(view);
303 } else { 302 } else {
304 view_center_surface(view); 303 view_center_surface(view);
305 } 304 }