diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | |
|---|---|---|
| 2023-12-27 11:19:03 -0600 | ||
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | |
| 2023-12-27 11:19:03 -0600 | ||
| commit | 6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f (patch) | |
| tree | d059f86883bf829cc36e14a8632371e2d3ac76da | |
| parent | d13015381b5761bbc52cebae042edacecd739a2c (diff) | |
| download | dwl-6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f.tar.gz dwl-6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f.tar.bz2 dwl-6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f.zip | |
unset DISPLAY before setting up xwayland
@@ -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. |