aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-11-08 12:49:17 +1100
committerallusive-dev <[email protected]>2023-11-08 12:49:17 +1100
commitf254458e40be16810387aebc6c682b0992be3579 (patch)
treeef6a64399fb44caa16979def763a0bd1522ad183 /src
parentmade the issue clearer (diff)
downloadcompfy-f254458e40be16810387aebc6c682b0992be3579.tar.xz
compfy-f254458e40be16810387aebc6c682b0992be3579.zip
Fixed crashing on un-patched WMs
Diffstat (limited to 'src')
-rw-r--r--src/wm_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wm_check.c b/src/wm_check.c
index 5d9d404..8ee19a1 100644
--- a/src/wm_check.c
+++ b/src/wm_check.c
@@ -16,7 +16,7 @@ const char *checkWindowManager() {
} else if (strstr(desktopSession, "dwm") != NULL) {
return "dwm";
} else {
- return desktopSession;
+ return "error";
}
}
} \ No newline at end of file