diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-03 14:06:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-03 14:06:43 -0500 |
commit | aa7efa1564f7e92318da9212c37bf3096361453c (patch) | |
tree | 1797db0c9495a320ce802b238c554de4cddd94e1 /rootston/wl_shell.c | |
parent | 8eceaa2291febc70d32d6791693cbbcad407d401 (diff) | |
parent | 20545b09faf52bfde4513e6fbe519d4df686e404 (diff) |
Merge pull request #457 from acrisci/feature/wl-shell-commit
wl-shell: add commit event
Diffstat (limited to 'rootston/wl_shell.c')
-rw-r--r-- | rootston/wl_shell.c | 3 |
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) { |