dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 8509c2666e96527cff396d30874c6c1b0473981c
parent 76bcc767a14becb9199f0565b5eb27d4c9a68129
Author: Ross Mohn <rpmohn@waxandwane.org>
Date:   Sun,  8 Jul 2012 17:24:10 +0200

Draw all titlebars as selected when in runinall mode

Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>

Diffstat:
dvtm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dvtm.c b/dvtm.c @@ -254,7 +254,7 @@ draw_border(Client *c) { char t = '\0'; int x, y, maxlen; - if (sel == c) { + if (sel == c || (runinall && !c->minimized)) { wattrset(c->window, SELECTED_ATTR); wcolor_set(c->window, vt_color_get(SELECTED_FG, SELECTED_BG), NULL); } else { @@ -980,6 +980,7 @@ togglemouse(const char *args[]) { static void togglerunall(const char *args[]) { runinall = !runinall; + draw_all(true); } static void