summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
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)
398 c->next = *l; /* *l == nil */ 398 c->next = *l; /* *l == nil */
399 *l = c; 399 *l = c;
400 400
401 XSetWindowBorderWidth(dpy, c->win, 1);
402 XMapRaised(dpy, c->win); 401 XMapRaised(dpy, c->win);
403 XMapRaised(dpy, c->title); 402 XMapRaised(dpy, c->title);
404 XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask, 403 XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
@@ -495,6 +494,7 @@ resize(Client *c, Bool inc)
495 if(c->maxh && c->h > c->maxh) 494 if(c->maxh && c->h > c->maxh)
496 c->h = c->maxh; 495 c->h = c->maxh;
497 resize_title(c); 496 resize_title(c);
497 XSetWindowBorderWidth(dpy, c->win, 1);
498 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); 498 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
499 e.type = ConfigureNotify; 499 e.type = ConfigureNotify;
500 e.event = c->win; 500 e.event = c->win;