aewl

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 diff
     1.1 --- a/dev.c	Thu Jul 13 19:55:07 2006 +0200
     1.2 +++ b/dev.c	Thu Jul 13 20:28:19 2006 +0200
     1.3 @@ -104,7 +104,7 @@
     1.4  			c->h = abs(ocy - ev.xmotion.y);
     1.5  			c->x = (ocx <= ev.xmotion.x) ? ocx : ocx - c->w;
     1.6  			c->y = (ocy <= ev.xmotion.y) ? ocy : ocy - c->h;
     1.7 -			resize(c);
     1.8 +			resize(c, True);
     1.9  			break;
    1.10  		case ButtonRelease:
    1.11  			XUngrabPointer(dpy, CurrentTime);
    1.12 @@ -138,7 +138,7 @@
    1.13  			XFlush(dpy);
    1.14  			c->x = ocx + (ev.xmotion.x - x1);
    1.15  			c->y = ocy + (ev.xmotion.y - y1);
    1.16 -			resize(c);
    1.17 +			resize(c, False);
    1.18  			break;
    1.19  		case ButtonRelease:
    1.20  			XUngrabPointer(dpy, CurrentTime);