touch border
Anselm R. Garbe arg@suckless.org
Thu, 19 Apr 2007 08:53:40 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
client.c
→
client.c
@@ -203,7 +203,7 @@ updatesizehints(c);
XSelectInput(dpy, w, StructureNotifyMask | PropertyChangeMask | EnterWindowMask); grabbuttons(c, False); - c->border = wc.border_width = BORDERPX; + c->border = wc.border_width = (c->w == sw && c->h == sh) ? wa->border_width : BORDERPX; XConfigureWindow(dpy, w, CWBorderWidth, &wc); XSetWindowBorder(dpy, w, dc.norm[ColBorder]); configure(c); /* propagates border_width, if size doesn't change */