mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Unset $DISPLAY until XWayland is ready
This commit is contained in:
parent
836242b0c4
commit
dd4bdf1f56
1 changed files with 4 additions and 0 deletions
|
|
@ -215,6 +215,10 @@ static bool wlr_xwayland_init(struct wlr_xwayland *wlr_xwayland,
|
|||
wlr_xwayland_finish(wlr_xwayland);
|
||||
return false;
|
||||
}
|
||||
|
||||
// unset $DISPLAY while XWayland starts
|
||||
unsetenv("DISPLAY");
|
||||
|
||||
wlr_xwayland->wl_fd[0] = -1; /* not ours anymore */
|
||||
|
||||
wlr_xwayland->destroy_listener.notify = xwayland_destroy_event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue