c->h = abs(ocy - ev.xmotion.y);
c->x = (ocx <= ev.xmotion.x) ? ocx : ocx - c->w;
c->y = (ocy <= ev.xmotion.y) ? ocy : ocy - c->h;
- resize(c);
+ resize(c, True);
break;
case ButtonRelease:
XUngrabPointer(dpy, CurrentTime);
XFlush(dpy);
c->x = ocx + (ev.xmotion.x - x1);
c->y = ocy + (ev.xmotion.y - y1);
- resize(c);
+ resize(c, False);
break;
case ButtonRelease:
XUngrabPointer(dpy, CurrentTime);