diff options
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1365,7 +1365,7 @@ resizemouse(const Arg *arg) { | |||
| 1365 | case MotionNotify: | 1365 | case MotionNotify: |
| 1366 | nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1); | 1366 | nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1); |
| 1367 | nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1); | 1367 | nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1); |
| 1368 | if(snap && c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww | 1368 | if(c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww |
| 1369 | && c->mon->wy + nh >= selmon->wy && c->mon->wy + nh <= selmon->wy + selmon->wh) | 1369 | && c->mon->wy + nh >= selmon->wy && c->mon->wy + nh <= selmon->wy + selmon->wh) |
| 1370 | { | 1370 | { |
| 1371 | if(!c->isfloating && selmon->lt[selmon->sellt]->arrange | 1371 | if(!c->isfloating && selmon->lt[selmon->sellt]->arrange |
