diff options
| author | allusive-dev <[email protected]> | 2023-11-08 12:49:17 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-11-08 12:49:17 +1100 |
| commit | f254458e40be16810387aebc6c682b0992be3579 (patch) | |
| tree | ef6a64399fb44caa16979def763a0bd1522ad183 /src | |
| parent | made the issue clearer (diff) | |
| download | compfy-f254458e40be16810387aebc6c682b0992be3579.tar.xz compfy-f254458e40be16810387aebc6c682b0992be3579.zip | |
Fixed crashing on un-patched WMs
Diffstat (limited to 'src')
| -rw-r--r-- | src/wm_check.c | 2 |
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 |