summaryrefslogtreecommitdiffstats
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
index af9d49b8..6a7a3f7f 100644
--- a/sway/desktop/xdg_shell.c
+++ b/sway/desktop/xdg_shell.c
@@ -254,8 +254,9 @@ static void handle_commit(struct wl_listener *listener, void *data) {
254 return; 254 return;
255 } 255 }
256 256
257 if (view->swayc->instructions->length) { 257 if (view->swayc->instruction) {
258 transaction_notify_view_ready(view, xdg_surface->configure_serial); 258 transaction_notify_view_ready_by_serial(view,
259 xdg_surface->configure_serial);
259 } 260 }
260 261
261 view_damage_from(view); 262 view_damage_from(view);