dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f
parent d13015381b5761bbc52cebae042edacecd739a2c
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date:   Wed, 27 Dec 2023 11:19:03 -0600

unset DISPLAY before setting up xwayland

Diffstat:
Mdwl.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/dwl.c b/dwl.c @@ -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.