Mercurial > dwm-meillo
diff dev.c @ 52:d18f6dd0cf23
fixed several things, nearly feature complete
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 20:28:19 +0200 |
parents | 035617ee18d1 |
children | 529901e6a227 |
line wrap: on
line diff
--- a/dev.c Thu Jul 13 19:55:07 2006 +0200 +++ b/dev.c Thu Jul 13 20:28:19 2006 +0200 @@ -104,7 +104,7 @@ 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 @@ 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);