mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
Update xwayland start for new API
https://github.com/swaywm/wlroots/pull/959
This commit is contained in:
parent
73cc92213f
commit
95dac2a069
|
@ -84,7 +84,7 @@ bool server_init(struct sway_server *server) {
|
|||
|
||||
// TODO make xwayland optional
|
||||
server->xwayland =
|
||||
wlr_xwayland_create(server->wl_display, server->compositor);
|
||||
wlr_xwayland_create(server->wl_display, server->compositor, false);
|
||||
wl_signal_add(&server->xwayland->events.new_surface,
|
||||
&server->xwayland_surface);
|
||||
server->xwayland_surface.notify = handle_xwayland_surface;
|
||||
|
|
Loading…
Reference in a new issue