summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_tabgroups.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-15 11:18:54 +0200
committerbakkeby <[email protected]>2020-08-15 11:18:54 +0200
commitcc495a80dcffdf728abd031b165b1dffb0456264 (patch)
tree2df332b08fc26bdd1d48a8d25958d24f27b6bca2 /patch/bar_tabgroups.c
parent2632f112a8b1a4bb2904f0f734a4e57e3c82a7b1 (diff)
downloaddwm-flexipatch-cc495a80dcffdf728abd031b165b1dffb0456264.tar.gz
dwm-flexipatch-cc495a80dcffdf728abd031b165b1dffb0456264.zip
bartabgroups: adding guard for missing wintitleactions patch, just to align with patch
Diffstat (limited to 'patch/bar_tabgroups.c')
-rw-r--r--patch/bar_tabgroups.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/patch/bar_tabgroups.c b/patch/bar_tabgroups.c
index e81e65d..116ddc7 100644
--- a/patch/bar_tabgroups.c
+++ b/patch/bar_tabgroups.c
@@ -54,8 +54,10 @@ bartabdraw(Monitor *m, Client *c, int unused, int x, int w, int groupactive, Arg
drw_setscheme(drw, scheme[
m->sel == c
? SchemeSel
+ #ifdef HIDDEN
: HIDDEN(c)
? SchemeHid
+ #endif
: groupactive
? SchemeTabActive
: SchemeTabInactive
@@ -92,6 +94,10 @@ bartabdraw(Monitor *m, Client *c, int unused, int x, int w, int groupactive, Arg
}
}
+#ifndef HIDDEN
+#define HIDDEN(C) 0
+#endif
+
void
bartabclick(Monitor *m, Client *c, int passx, int x, int w, int unused, Arg *arg)
{