mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
don't give borderless windows a border, when they're inactive
from aon@iki.fi via bernd@
This commit is contained in:
parent
04248d0ed3
commit
5a0f777c6f
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));
|
||||||
|
Loading…
Reference in New Issue
Block a user