aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-14 08:34:38 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-14 08:34:38 +0200
commit72655f0ce7abe85853aca98a051df2aab07116f9 (patch)
treedf4325bcb502ca3b2d656eb70d16711776d11638 /client.c
parent86d9851427710ca0f3ab95ae9b6c20361b56e516 (diff)
downloaddwm-72655f0ce7abe85853aca98a051df2aab07116f9.tar.gz
continued with man page
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index b2318ab..e9075a2 100644
--- a/client.c
+++ b/client.c
@@ -398,7 +398,6 @@ manage(Window w, XWindowAttributes *wa)
c->next = *l; /* *l == nil */
*l = c;
- XSetWindowBorderWidth(dpy, c->win, 1);
XMapRaised(dpy, c->win);
XMapRaised(dpy, c->title);
XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
@@ -495,6 +494,7 @@ resize(Client *c, Bool inc)
if(c->maxh && c->h > c->maxh)
c->h = c->maxh;
resize_title(c);
+ XSetWindowBorderWidth(dpy, c->win, 1);
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
e.type = ConfigureNotify;
e.event = c->win;