>From 1933d1dfb1b4105ad86c45760e0fde15f438e750 Mon Sep 17 00:00:00 2001 From: Christian Garbs Date: Wed, 2 Jan 2008 23:29:50 +0100 Subject: [PATCH] visual distinction of selected client for b/w terminals --- dvtm.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/dvtm.c b/dvtm.c index dc31938..21786db 100644 --- a/dvtm.c +++ b/dvtm.c @@ -413,7 +413,11 @@ draw_border(Client *c){ if(c->minimized && !isarrange(fullscreen)) mvwhline(c->window,0,0,ACS_HLINE,c->w); else - box(c->window,0,0); + if (sel == c) + box(c->window,0,0); + else + wborder(c->window,':', ':', '-', '-', '.', '.', '`', '\''); + curs_set(0); getyx(c->window,y,x); mvwprintw(c->window,0,2, TITLE, -- 1.5.3.7