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 04248d0ed3
commit 5a0f777c6f

View File

@ -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));