~ruther/dwl

6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f — Leonardo Hernández Hernández 1 year, 3 months ago d130153
unset DISPLAY before setting up xwayland
1 files changed, 4 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +4 -0
@@ 2386,6 2386,10 @@ setup(void)

	wlr_scene_set_presentation(scene, wlr_presentation_create(dpy, backend));

	/* Make sure XWayland clients don't connect to the parent X server,
	 * e.g when running in the x11 backend or the wayland backend and the
	 * compositor has Xwayland support */
	unsetenv("DISPLAY");
#ifdef XWAYLAND
	/*
	 * Initialise the XWayland X server.

Do not follow this link