diff options
Diffstat (limited to 'patch/bar_flexwintitle.c')
| -rw-r--r-- | patch/bar_flexwintitle.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/patch/bar_flexwintitle.c b/patch/bar_flexwintitle.c index f7da241..15d6241 100644 --- a/patch/bar_flexwintitle.c +++ b/patch/bar_flexwintitle.c @@ -146,7 +146,7 @@ getschemefor(Monitor *m, int group, int activegroup) #endif // MONOCLE_LAYOUT return SchemeTitleNorm; case GRP_HIDDEN: - return SchemeHid; + return SchemeHidNorm; case GRP_FLOAT: return (activegroup ? SchemeFlexActFloat : SchemeFlexInaFloat); } @@ -172,10 +172,12 @@ flextitledraw(Monitor *m, Client *c, int unused, int x, int w, int tabscheme, Ar return; int i, nclienttags = 0, nviewtags = 0, pad = lrpad / 2; int clientscheme = ( - c == selmon->sel - ? getselschemefor(tabscheme) + c == selmon->sel && HIDDEN(c) + ? SchemeHidSel : HIDDEN(c) - ? SchemeHid + ? SchemeHidNorm + : c == selmon->sel + ? getselschemefor(tabscheme) : c->isurgent ? SchemeUrg : tabscheme |
