From 6ec0f95a15b06a94a802c05fb4c408364c0d0c6d Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Wed, 4 Jan 2012 13:51:41 +0200 Subject: do not place borders when from two windows, one is normal, other is transient --- monsterwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monsterwm.c b/monsterwm.c index 5136fcd..617e312 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -683,7 +683,7 @@ void togglepanel() { void update_current(void) { if (!current) return; - int border_width = (!head->next || mode == MONOCLE) ? 0 : BORDER_WIDTH; + int border_width = (!head->next || head->next->istransient || mode == MONOCLE) ? 0 : BORDER_WIDTH; for (client *c=head; c; c=c->next) { XSetWindowBorderWidth(dis, c->win, (c->isfullscreen ? 0 : border_width)); -- cgit v1.3.1