From a2e344b05ffd3ebfdf49eb76b0aaae58d6ffa981 Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 29 May 2007 22:35:04 +0000 Subject: [PATCH] don't give borderless windows a border, when they're inactive from aon@iki.fi via bernd@ --- app/cwm/client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/cwm/client.c b/app/cwm/client.c index b6e2f7e17..a4982b028 100644 --- a/app/cwm/client.c +++ b/app/cwm/client.c @@ -4,7 +4,7 @@ * Copyright (c) 2004 Marius Aamodt Eriksen * 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));