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

commit c9dcd023ceaa10626c029cc1f6f3c7b2bf24a745
parent 30701f405718ff00f530e13b974a9e2503b41841
Author: Marcel Rodrigues <marcelgmr@gmail.com>
Date:   Wed,  5 Aug 2015 22:08:53 -0300

Redraw border with URGENT_ATTR as soon as possible

When a visible window other than the selected one receives a bell
('\a'), I expect its border to be redrawn immediately with the
corresponding attributes (URGENT_ATTR). Currently this does not
happen: the border will remain the same until draw_border() is
eventually called as a result of other events, such as layout

dvtm.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -626,6 +626,8 @@ term_urgent_handler(Vt *term) { printf("\a"); fflush(stdout); drawbar(); + if (!isarrange(fullscreen) && sel != c && isvisible(c)) + draw_border(c); } static void