mirror of
https://github.com/swaywm/sway.git
synced 2025-01-07 08:31:18 +00:00
Enable lazy xwayland
This commit is contained in:
parent
b2dec12368
commit
404d006a1c
|
@ -95,7 +95,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, false);
|
wlr_xwayland_create(server->wl_display, server->compositor, true);
|
||||||
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