aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-27 10:10:13 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-27 10:10:13 -0500
commit2f7e435c6f2c7e4ace4f2566677d8730531985c8 (patch)
tree0abde2b463904c40eeaf06b7a1b93ec36f276438 /sway/desktop/xdg_shell_v6.c
parent373def44468e0c919031a6ffe3049f91680e05ca (diff)
desktop: use wlr-surface commit
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c3
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) {
// - Criteria
sway_surface->commit.notify = handle_commit;
- wl_signal_add(&xdg_surface->events.commit, &sway_surface->commit);
+ wl_signal_add(&xdg_surface->surface->events.commit, &sway_surface->commit);
+
sway_surface->destroy.notify = handle_destroy;
wl_signal_add(&xdg_surface->events.destroy, &sway_surface->destroy);