diff options
author | emersion <contact@emersion.fr> | 2017-11-19 22:28:51 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-19 22:28:51 +0100 |
commit | 7904b625f0c6a8cef684d60ba136de1ba48e848e (patch) | |
tree | 3d7001509a6229e1b17a0f4c26960e720857c8a9 /rootston/main.c | |
parent | 7375931686e6a58c08a7727ce2f5d88e0be9adfa (diff) | |
parent | fae8d6289a470b8abcf36a5f4b0030ef504caf0b (diff) |
Merge branch 'master' into laggy-move-resize
Diffstat (limited to 'rootston/main.c')
-rw-r--r-- | rootston/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rootston/main.c b/rootston/main.c index 814d3aef..46548094 100644 --- a/rootston/main.c +++ b/rootston/main.c @@ -59,8 +59,9 @@ int main(int argc, char **argv) { ready(NULL, NULL); #else if (server.desktop->xwayland != NULL) { - struct wl_listener xwayland_ready = { .notify = ready }; - wl_signal_add(&server.desktop->xwayland->events.ready, &xwayland_ready); + wl_signal_add(&server.desktop->xwayland->events.ready, + &server.desktop->xwayland_ready); + server.desktop->xwayland_ready.notify = ready; } else { ready(NULL, NULL); } |