mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-20 09:43:32 +01:00
wmaker: factorize duplicated code
This patch is factorizing is_same and getBool functions in misc. is_same is renamed to WMStrEqual getBool is renamed to WMPLGetBool to prevent name collision issues.
This commit is contained in:
committed by
Carlos R. Mafra
parent
92e1e9fb0b
commit
1e63c590b6
@@ -54,4 +54,6 @@ char *GetShortcutKey(WShortKey key);
|
||||
char *EscapeWM_CLASS(const char *name, const char *class);
|
||||
char *StrConcatDot(const char *a, const char *b);
|
||||
char *GetCommandForWindow(Window win);
|
||||
int WMStrEqual(const char *x, const char *y);
|
||||
int WMPLGetBool(WMPropList *value);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user