diff options
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index c6ac0f4e..5b3c7b2b 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -250,8 +250,9 @@ static void handle_commit(struct wl_listener *listener, void *data) { if (!view->swayc) { return; } - if (view->swayc->instructions->length) { - transaction_notify_view_ready(view, xdg_surface_v6->configure_serial); + if (view->swayc->instruction) { + transaction_notify_view_ready_by_serial(view, + xdg_surface_v6->configure_serial); } view_damage_from(view); |