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 545267b commit fa872d7Copy full SHA for fa872d7
src/detection/displayserver/linux/wayland/wayland.c
@@ -17,7 +17,7 @@
17
#include "kde-output-order-v1-client-protocol.h"
18
#include "xdg-output-unstable-v1-client-protocol.h"
19
20
-#ifndef __FreeBSD__
+#ifdef __linux__
21
static bool waylandDetectWM(int fd, FFDisplayServerResult* result)
22
{
23
struct ucred ucred;
@@ -34,7 +34,7 @@ static bool waylandDetectWM(int fd, FFDisplayServerResult* result)
34
return true;
35
}
36
#else
37
-static void waylandDetectWM(int fd, FFDisplayServerResult* result)
+static bool waylandDetectWM(int fd, FFDisplayServerResult* result)
38
39
FF_UNUSED(fd, result);
40
return false;
0 commit comments