diff options
| author | Anselm R Garbe <anselm@garbe.us> | 2011-03-25 13:57:54 +0000 |
|---|---|---|
| committer | Anselm R Garbe <anselm@garbe.us> | 2011-03-25 13:57:54 +0000 |
| commit | 3c48858ffada0825b62e52ac14b1feba4b7654a4 (patch) | |
| tree | d688bdb8138214a05e41dcafd8f5e4d38edfe87d /dwm.c | |
| parent | applied Hiltjo's multimon mouse-based resize fix (diff) | |
| download | dwm-3c48858ffada0825b62e52ac14b1feba4b7654a4.tar.gz dwm-3c48858ffada0825b62e52ac14b1feba4b7654a4.zip | |
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) { | |||
| 1202 | case MotionNotify: | 1202 | case MotionNotify: |
| 1203 | nx = ocx + (ev.xmotion.x - x); | 1203 | nx = ocx + (ev.xmotion.x - x); |
| 1204 | ny = ocy + (ev.xmotion.y - y); | 1204 | ny = ocy + (ev.xmotion.y - y); |
| 1205 | if(snap && nx >= selmon->wx && nx <= selmon->wx + selmon->ww | 1205 | if(nx >= selmon->wx && nx <= selmon->wx + selmon->ww |
| 1206 | && ny >= selmon->wy && ny <= selmon->wy + selmon->wh) { | 1206 | && ny >= selmon->wy && ny <= selmon->wy + selmon->wh) { |
| 1207 | if(abs(selmon->wx - nx) < snap) | 1207 | if(abs(selmon->wx - nx) < snap) |
| 1208 | nx = selmon->wx; | 1208 | nx = selmon->wx; |
