X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dev.c;h=5e338b350b58fe75dfb1ab7b47532e936afa5e5c;hp=c77ef587074f263b623d8ef719c8db16f6a2dd61;hb=7fe717c29f9dafc4fc38313adbbb7c85619dec69;hpb=3aad92202d58208c4197857d3f17c535ba0bd56a diff --git a/dev.c b/dev.c index c77ef58..5e338b3 100644 --- a/dev.c +++ b/dev.c @@ -104,7 +104,7 @@ mresize(Client *c) 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); @@ -138,7 +138,7 @@ mmove(Client *c) 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);