diff options
author | Anselm R Garbe | 2011-03-25 13:57:54 +0000 |
---|---|---|
committer | Anselm R Garbe | 2011-03-25 13:57:54 +0000 |
commit | ce1b00d0b10dddd9d25cf5eebfc307ef66a701c3 (patch) | |
tree | 9c9c7ac40640213602f7ae5a3beadc47c2ac0fd1 /dwm.c | |
parent | 03fae0e0473a0cff08cfc2ec05981e4234b9da7d (diff) | |
download | aur-ce1b00d0b10dddd9d25cf5eebfc307ef66a701c3.tar.gz |
applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1202,7 +1202,7 @@ movemouse(const Arg *arg) { case MotionNotify: nx = ocx + (ev.xmotion.x - x); ny = ocy + (ev.xmotion.y - y); - if(snap && nx >= selmon->wx && nx <= selmon->wx + selmon->ww + if(nx >= selmon->wx && nx <= selmon->wx + selmon->ww && ny >= selmon->wy && ny <= selmon->wy + selmon->wh) { if(abs(selmon->wx - nx) < snap) nx = selmon->wx; |