summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch')
-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)
{