summaryrefslogtreecommitdiffstats
path: root/dev.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 20:28:19 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 20:28:19 +0200
commit7fe717c29f9dafc4fc38313adbbb7c85619dec69 (patch)
treebee9de83c270e21195f79ca86430f305cdd28fec /dev.c
parentnew stuff (diff)
downloaddwm-7fe717c29f9dafc4fc38313adbbb7c85619dec69.tar.gz
dwm-7fe717c29f9dafc4fc38313adbbb7c85619dec69.zip
fixed several things, nearly feature complete
Diffstat (limited to 'dev.c')
-rw-r--r--dev.c4
1 files changed, 2 insertions, 2 deletions
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)
104 c->h = abs(ocy - ev.xmotion.y); 104 c->h = abs(ocy - ev.xmotion.y);
105 c->x = (ocx <= ev.xmotion.x) ? ocx : ocx - c->w; 105 c->x = (ocx <= ev.xmotion.x) ? ocx : ocx - c->w;
106 c->y = (ocy <= ev.xmotion.y) ? ocy : ocy - c->h; 106 c->y = (ocy <= ev.xmotion.y) ? ocy : ocy - c->h;
107 resize(c); 107 resize(c, True);
108 break; 108 break;
109 case ButtonRelease: 109 case ButtonRelease:
110 XUngrabPointer(dpy, CurrentTime); 110 XUngrabPointer(dpy, CurrentTime);
@@ -138,7 +138,7 @@ mmove(Client *c)
138 XFlush(dpy); 138 XFlush(dpy);
139 c->x = ocx + (ev.xmotion.x - x1); 139 c->x = ocx + (ev.xmotion.x - x1);
140 c->y = ocy + (ev.xmotion.y - y1); 140 c->y = ocy + (ev.xmotion.y - y1);
141 resize(c); 141 resize(c, False);
142 break; 142 break;
143 case ButtonRelease: 143 case ButtonRelease:
144 XUngrabPointer(dpy, CurrentTime); 144 XUngrabPointer(dpy, CurrentTime);