don't give borderless windows a border, when they're inactive
from aon@iki.fi via bernd@
This commit is contained in:
2
client.c
2
client.c
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user