bartabgroups: adding guard for missing wintitleactions patch, just to align with patch

This commit is contained in:
bakkeby 2020-08-15 11:18:54 +02:00
parent 2632f112a8
commit cc495a80dc

View File

@ -54,8 +54,10 @@ bartabdraw(Monitor *m, Client *c, int unused, int x, int w, int groupactive, Arg
drw_setscheme(drw, scheme[ drw_setscheme(drw, scheme[
m->sel == c m->sel == c
? SchemeSel ? SchemeSel
#ifdef HIDDEN
: HIDDEN(c) : HIDDEN(c)
? SchemeHid ? SchemeHid
#endif
: groupactive : groupactive
? SchemeTabActive ? SchemeTabActive
: SchemeTabInactive : 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 void
bartabclick(Monitor *m, Client *c, int passx, int x, int w, int unused, Arg *arg) bartabclick(Monitor *m, Client *c, int passx, int x, int w, int unused, Arg *arg)
{ {