diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 03f37241..4d133a12 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -302,8 +302,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { | |||
302 | memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); | 302 | memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); |
303 | desktop_damage_view(view); | 303 | desktop_damage_view(view); |
304 | transaction_commit_dirty(); | 304 | transaction_commit_dirty(); |
305 | transaction_notify_view_ready_by_size(view, | 305 | transaction_notify_view_ready_immediately(view); |
306 | new_geo.width, new_geo.height); | ||
307 | } else { | 306 | } else { |
308 | memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); | 307 | memcpy(&view->geometry, &new_geo, sizeof(struct wlr_box)); |
309 | } | 308 | } |