aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper2007-05-29 22:35:04 +0000
committerjasper2007-05-29 22:35:04 +0000
commit41eb6359d30fd7e1d63e4fc439cf56636f345712 (patch)
treee9789dbd96007e4d50ac7b513b070c053f472e0c
parent59fbbbaaa59329e99fbc14a0377a88480620863d (diff)
downloadcwm-41eb6359d30fd7e1d63e4fc439cf56636f345712.tar.gz
don't give borderless windows a border, when they're inactive
from aon@iki.fi via bernd@
-rw-r--r--client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/client.c b/client.c
index b6e2f7e..a4982b0 100644
--- a/client.c
+++ b/client.c
@@ -4,7 +4,7 @@
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
* All rights reserved.
*
- * $Id: client.c,v 1.2 2007/05/28 18:34:27 jasper Exp $
+ * $Id: client.c,v 1.3 2007/05/29 22:35:04 jasper Exp $
*/
#include "headers.h"
@@ -464,8 +464,6 @@ client_draw_border(struct client_ctx *cc)
cc->geom.width + cc->bwidth,
cc->geom.height + cc->bwidth);
} else {
- XSetWindowBackgroundPixmap(X_Dpy, cc->pwin,
- client_bg_pixmap(cc));
if (cc->bwidth > 1)
XSetWindowBackgroundPixmap(X_Dpy,
cc->pwin, client_bg_pixmap(cc));