all repos — dwm @ b0785998338eb49879da93ceca635ef5030a0cab

my dwm build

set border at manage time
Anselm R. Garbe arg@suckless.org
Wed, 18 Apr 2007 21:11:46 +0200
commit

b0785998338eb49879da93ceca635ef5030a0cab

parent

1e80207876a365ad930df321153b6c98a4747707

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M client.cclient.c

@@ -185,7 +185,6 @@ c->x = wa->x;

c->y = wa->y; c->w = wa->width; c->h = wa->height; - c->border = wa->border_width; if(c->w == sw && c->h == sh) { c->x = sx; c->y = sy;

@@ -204,7 +203,7 @@ updatesizehints(c);

XSelectInput(dpy, w, StructureNotifyMask | PropertyChangeMask | EnterWindowMask); grabbuttons(c, False); - wc.border_width = BORDERPX; + c->border = wc.border_width = BORDERPX; XConfigureWindow(dpy, w, CWBorderWidth, &wc); XSetWindowBorder(dpy, w, dc.norm[ColBorder]); configure(c); /* propagates border_width, if size doesn't change */