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 | new stuff (diff) | |
| download | dwm-7fe717c29f9dafc4fc38313adbbb7c85619dec69.tar.gz dwm-7fe717c29f9dafc4fc38313adbbb7c85619dec69.zip | |
fixed several things, nearly feature complete
Diffstat (limited to '')
| -rw-r--r-- | dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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); |
