diff options
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -62,7 +62,7 @@ /* enums */ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ -enum { SchemeNorm, SchemeSel }; /* color schemes */ +enum { SchemeNorm, SchemeSel, SchemeTitle }; /* color schemes */ enum { NetSupported, NetWMName, NetWMState, NetWMCheck, NetWMFullscreen, NetActiveWindow, NetWMWindowType, NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */ @@ -78,6 +78,12 @@ typedef union { } Arg; typedef struct { + char *gname; + void (*func)(const Arg *arg); + const Arg arg; +} Gesture; + +typedef struct { unsigned int click; unsigned int mask; unsigned int button; @@ -766,7 +772,7 @@ drawbar(Monitor *m) if ((w = m->ww - tw - x) > bh) { if (m->sel) { - drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]); + drw_setscheme(drw, scheme[m == selmon ? SchemeTitle : SchemeNorm]); drw_text(drw, x, 0, w - 2*sp, bh, lrpad / 2, m->sel->name, 0, False); if (m->sel->isfloating) drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0); |