|
|
@ -398,7 +398,6 @@ manage(Window w, XWindowAttributes *wa)
|
|
|
|
c->next = *l; /* *l == nil */
|
|
|
|
c->next = *l; /* *l == nil */
|
|
|
|
*l = c;
|
|
|
|
*l = c;
|
|
|
|
|
|
|
|
|
|
|
|
XSetWindowBorderWidth(dpy, c->win, 1);
|
|
|
|
|
|
|
|
XMapRaised(dpy, c->win);
|
|
|
|
XMapRaised(dpy, c->win);
|
|
|
|
XMapRaised(dpy, c->title);
|
|
|
|
XMapRaised(dpy, c->title);
|
|
|
|
XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
|
|
|
|
XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask,
|
|
|
@ -495,6 +494,7 @@ resize(Client *c, Bool inc)
|
|
|
|
if(c->maxh && c->h > c->maxh)
|
|
|
|
if(c->maxh && c->h > c->maxh)
|
|
|
|
c->h = c->maxh;
|
|
|
|
c->h = c->maxh;
|
|
|
|
resize_title(c);
|
|
|
|
resize_title(c);
|
|
|
|
|
|
|
|
XSetWindowBorderWidth(dpy, c->win, 1);
|
|
|
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
|
|
|
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
|
|
|
|
e.type = ConfigureNotify;
|
|
|
|
e.type = ConfigureNotify;
|
|
|
|
e.event = c->win;
|
|
|
|
e.event = c->win;
|
|
|
|