|
|
@ -59,8 +59,9 @@ int main(int argc, char **argv) {
|
|
|
|
ready(NULL, NULL);
|
|
|
|
ready(NULL, NULL);
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
if (server.desktop->xwayland != NULL) {
|
|
|
|
if (server.desktop->xwayland != NULL) {
|
|
|
|
struct wl_listener xwayland_ready = { .notify = ready };
|
|
|
|
wl_signal_add(&server.desktop->xwayland->events.ready,
|
|
|
|
wl_signal_add(&server.desktop->xwayland->events.ready, &xwayland_ready);
|
|
|
|
&server.desktop->xwayland_ready);
|
|
|
|
|
|
|
|
server.desktop->xwayland_ready.notify = ready;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
ready(NULL, NULL);
|
|
|
|
ready(NULL, NULL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|