aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-04 13:51:41 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-04 13:51:41 +0200
commit6ec0f95a15b06a94a802c05fb4c408364c0d0c6d (patch)
tree63e61a1dd2bd2d25de1a220ced8b5542b28ac4e1 /monsterwm.c
parentb91048246e04bb5c4e66e90d76228d4289ecb483 (diff)
do not place borders when from two windows, one is normal, other is transient
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c2
1 files changed, 1 insertions, 1 deletions
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));