We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3252812 commit 8eabc49Copy full SHA for 8eabc49
src/detection/displayserver/linux/wayland/wayland.c
@@ -135,7 +135,7 @@ void ffdsConnectWayland(FFDisplayServerResult* result)
135
const char* xdgSessionType = getenv("XDG_SESSION_TYPE");
136
137
//If XDG_SESSION_TYPE is set, and doesn't contain "wayland", we are probably not running in a wayland session.
138
- if(xdgSessionType != NULL && ffStrEqualsIgnCase(xdgSessionType, "wayland"))
+ if(xdgSessionType != NULL && !ffStrEqualsIgnCase(xdgSessionType, "wayland"))
139
return;
140
141
//If XDG_SESSION_TYPE is not set, check if WAYLAND_DISPLAY or WAYLAND_SOCKET is set.
0 commit comments