force GLX backend even on XWayland sessions

This commit is contained in:
Jarcode
2018-03-18 16:22:23 -07:00
parent 2220946a2f
commit 4be89c3337

View File

@@ -736,7 +736,7 @@ struct renderer* rd_new(const char** paths, const char* entry,
#ifdef GLAVA_GLX
DECL_WCB(wcb_glx);
if (!forced && !getenv("WAYLAND_DISPLAY") && getenv("DISPLAY")) {
if (!forced && getenv("DISPLAY")) {
backend = "glx";
}
#endif