Skip to content

Commit

Permalink
WM (Linux): added ratpoison window manager (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzu-eva authored Dec 17, 2024
1 parent ca975f8 commit 0dc40a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/detection/displayserver/displayserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#define FF_WM_PRETTY_DTWM "dtwm"
#define FF_WM_PRETTY_FVWM "fvwm"
#define FF_WM_PRETTY_CTWM "ctwm"

#define FF_WM_PRETTY_RATPOISON "ratpoison"

#define FF_WM_PROTOCOL_TTY "TTY"
#define FF_WM_PROTOCOL_X11 "X11"
Expand Down
2 changes: 2 additions & 0 deletions src/detection/displayserver/linux/wmde.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ static void applyPrettyNameIfWM(FFDisplayServerResult* result, const char* name)
ffStrbufSetS(&result->wmPrettyName, FF_WM_PRETTY_CTWM);
else if(ffStrEqualsIgnCase(name, "hyprland"))
ffStrbufSetS(&result->wmPrettyName, FF_WM_PRETTY_HYPRLAND);
else if(ffStrEqualsIgnCase(name, "ratpoison"))
ffStrbufSetS(&result->wmPrettyName, FF_WM_PRETTY_RATPOISON);
}

static void applyNameIfWM(FFDisplayServerResult* result, const char* processName)
Expand Down

0 comments on commit 0dc40a2

Please sign in to comment.