diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-19 10:29:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-19 10:29:37 -0500 |
commit | 358654e212dbb3423948e89d26a0da218ad49252 (patch) | |
tree | e044ce110ba7d62060fef859fcfbc05c4fcd1c58 /rootston | |
parent | fa36ac90f70787176a5cfdb6fa6835aa1226f697 (diff) | |
parent | 90d2eca218be2beff2465433f0d2937a3d4de267 (diff) |
Merge pull request #432 from acrisci/bug/xwayland-ready-listener
rootston: xwayland ready listener
Diffstat (limited to 'rootston')
-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); } |