mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Merge pull request #1942 from VincentVanlaer/xwayland-lazy
Update xwayland start for new API
This commit is contained in:
commit
22b873332f
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ bool server_init(struct sway_server *server) {
|
||||||
|
|
||||||
// TODO make xwayland optional
|
// TODO make xwayland optional
|
||||||
server->xwayland =
|
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,
|
wl_signal_add(&server->xwayland->events.new_surface,
|
||||||
&server->xwayland_surface);
|
&server->xwayland_surface);
|
||||||
server->xwayland_surface.notify = handle_xwayland_surface;
|
server->xwayland_surface.notify = handle_xwayland_surface;
|
||||||
|
|
Loading…
Reference in a new issue