diff options
author | emersion <contact@emersion.fr> | 2017-12-27 13:02:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-27 13:02:49 +0100 |
commit | a79dc7df5103854b2cc5be20e153140862cda05a (patch) | |
tree | ed4ae380d49ffa3c9111628e4ff5fd6f61c05349 /rootston | |
parent | e80925017134f397e27cf7196e3379b28d93a8fd (diff) | |
parent | 5c5f0611c418a39dc39e309679de25775caae030 (diff) |
Merge pull request #524 from acrisci/role-committed
[wip] Role committed
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/wl_shell.c | 2 | ||||
-rw-r--r-- | rootston/xdg_shell_v6.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rootston/wl_shell.c b/rootston/wl_shell.c index d0aad407..7f70acae 100644 --- a/rootston/wl_shell.c +++ b/rootston/wl_shell.c @@ -150,7 +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->events.commit, &roots_surface->surface_commit); + wl_signal_add(&surface->surface->events.commit, &roots_surface->surface_commit); struct roots_view *view = calloc(1, sizeof(struct roots_view)); if (!view) { diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index a0503ad8..0515263b 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -253,7 +253,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { return; } roots_surface->commit.notify = handle_commit; - wl_signal_add(&surface->events.commit, &roots_surface->commit); + wl_signal_add(&surface->surface->events.commit, &roots_surface->commit); roots_surface->destroy.notify = handle_destroy; wl_signal_add(&surface->events.destroy, &roots_surface->destroy); roots_surface->request_move.notify = handle_request_move; |