aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-03 13:02:02 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-03 13:02:02 -0500
commit20545b09faf52bfde4513e6fbe519d4df686e404 (patch)
tree1797db0c9495a320ce802b238c554de4cddd94e1
parent41d7bad4703d872ffcfb2c20f300d4b3e1c84246 (diff)
rootston: use wl-shell surface commit
-rw-r--r--rootston/wl_shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rootston/wl_shell.c b/rootston/wl_shell.c
index 5fd6352d..d0aad407 100644
--- a/rootston/wl_shell.c
+++ b/rootston/wl_shell.c
@@ -150,8 +150,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
roots_surface->set_state.notify = handle_set_state;
wl_signal_add(&surface->events.set_state, &roots_surface->set_state);
roots_surface->surface_commit.notify = handle_surface_commit;
- wl_signal_add(&surface->surface->events.commit,
- &roots_surface->surface_commit);
+ wl_signal_add(&surface->events.commit, &roots_surface->surface_commit);
struct roots_view *view = calloc(1, sizeof(struct roots_view));
if (!view) {