diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 20:28:19 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 20:28:19 +0200 |
commit | 7fe717c29f9dafc4fc38313adbbb7c85619dec69 (patch) | |
tree | bee9de83c270e21195f79ca86430f305cdd28fec /dev.c | |
parent | 3aad92202d58208c4197857d3f17c535ba0bd56a (diff) | |
download | dwm-7fe717c29f9dafc4fc38313adbbb7c85619dec69.tar.gz |
fixed several things, nearly feature complete
Diffstat (limited to 'dev.c')
-rw-r--r-- | dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |