don't give borderless windows a border, when they're inactive

from aon@iki.fi via bernd@
This commit is contained in:
jasper
2007-05-29 22:35:04 +00:00
parent 9dc24fdb26
commit a2e344b05f

View File

@@ -4,7 +4,7 @@
* Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org> * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org>
* All rights reserved. * 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" #include "headers.h"
@@ -464,8 +464,6 @@ client_draw_border(struct client_ctx *cc)
cc->geom.width + cc->bwidth, cc->geom.width + cc->bwidth,
cc->geom.height + cc->bwidth); cc->geom.height + cc->bwidth);
} else { } else {
XSetWindowBackgroundPixmap(X_Dpy, cc->pwin,
client_bg_pixmap(cc));
if (cc->bwidth > 1) if (cc->bwidth > 1)
XSetWindowBackgroundPixmap(X_Dpy, XSetWindowBackgroundPixmap(X_Dpy,
cc->pwin, client_bg_pixmap(cc)); cc->pwin, client_bg_pixmap(cc));