diff options
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 015cc9d0..5ff19f7e 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -120,7 +120,8 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { | |||
120 | // - Criteria | 120 | // - Criteria |
121 | 121 | ||
122 | sway_surface->commit.notify = handle_commit; | 122 | sway_surface->commit.notify = handle_commit; |
123 | wl_signal_add(&xdg_surface->events.commit, &sway_surface->commit); | 123 | wl_signal_add(&xdg_surface->surface->events.commit, &sway_surface->commit); |
124 | |||
124 | sway_surface->destroy.notify = handle_destroy; | 125 | sway_surface->destroy.notify = handle_destroy; |
125 | wl_signal_add(&xdg_surface->events.destroy, &sway_surface->destroy); | 126 | wl_signal_add(&xdg_surface->events.destroy, &sway_surface->destroy); |
126 | 127 | ||