applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)

This commit is contained in:
Anselm R Garbe committed 2011-03-25 13:57:54 +00:00
1 parent dd46d5b588
commit 3c48858ffa
2 files changed
+1 -8

No files matched your search

+1 -1
View File
@@ -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;