mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Set DISPLAY after initializing Xwayland
This is necessary after https://github.com/swaywm/wlroots/pull/1596
This commit is contained in:
parent
3f184cf188
commit
a6711740bc
@ -184,6 +184,8 @@ bool server_start(struct sway_server *server) {
|
|||||||
&server->xwayland_ready);
|
&server->xwayland_ready);
|
||||||
server->xwayland_ready.notify = handle_xwayland_ready;
|
server->xwayland_ready.notify = handle_xwayland_ready;
|
||||||
|
|
||||||
|
setenv("DISPLAY", server->xwayland.wlr_xwayland->display_name, true);
|
||||||
|
|
||||||
server->xwayland.xcursor_manager =
|
server->xwayland.xcursor_manager =
|
||||||
wlr_xcursor_manager_create(cursor_theme, cursor_size);
|
wlr_xcursor_manager_create(cursor_theme, cursor_size);
|
||||||
wlr_xcursor_manager_load(server->xwayland.xcursor_manager, 1);
|
wlr_xcursor_manager_load(server->xwayland.xcursor_manager, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user