mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 18:39:48 +01:00
Merge pull request #202 from 4e554c4c/unsetenv
Unset $DISPLAY until XWayland is ready
This commit is contained in:
commit
edadbc7c7f
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);
|
wlr_xwayland_finish(wlr_xwayland);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// unset $DISPLAY while XWayland starts
|
||||||
|
unsetenv("DISPLAY");
|
||||||
|
|
||||||
wlr_xwayland->wl_fd[0] = -1; /* not ours anymore */
|
wlr_xwayland->wl_fd[0] = -1; /* not ours anymore */
|
||||||
|
|
||||||
wlr_xwayland->destroy_listener.notify = xwayland_destroy_event;
|
wlr_xwayland->destroy_listener.notify = xwayland_destroy_event;
|
||||||
|
|
Loading…
Reference in a new issue