dvtm

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

commit 3371b13ed43df0a43fa430b79a6276a055dbe47a
parent 75e2bd8a00541166b8b7d845a14d0dd617afcd49
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Wed, 20 Nov 2013 22:25:23 +0100

In multiplexing mode, only send keypresses to visible windows

Diffstat:
dvtm.1 | 2+-
dvtm.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dvtm.1 b/dvtm.1 @@ -145,7 +145,7 @@ Escape the next typed key. .TP .B Mod\-a Toggle keyboard multiplexing mode, if activated keypresses are sent to all -non minimized windows. +visible windows. .TP .B Mod\-X Lock screen. diff --git a/dvtm.c b/dvtm.c @@ -613,7 +613,7 @@ keypress(int code) { } for (c = runinall ? clients : sel; c; c = c->next) { - if (!c->minimized || isarrange(fullscreen)) { + if (is_visible(c)) { if (code == '\e') vt_write(c->term, buf, len); else