mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Use wlr_xwayland_display_name
Update for [1]. [1]: https://github.com/swaywm/wlroots/pull/2175
This commit is contained in:
parent
9cda5a5bd6
commit
838db58d0b
1 changed files with 2 additions and 1 deletions
|
|
@ -203,7 +203,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);
|
setenv("DISPLAY",
|
||||||
|
wlr_xwayland_display_name(server->xwayland.wlr_xwayland), true);
|
||||||
|
|
||||||
/* xcursor configured by the default seat */
|
/* xcursor configured by the default seat */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue