diff options
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); |
