summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2011-03-25 13:57:54 +0000
committerAnselm R Garbe <anselm@garbe.us>2011-03-25 13:57:54 +0000
commit3c48858ffada0825b62e52ac14b1feba4b7654a4 (patch)
treed688bdb8138214a05e41dcafd8f5e4d38edfe87d
parentapplied Hiltjo's multimon mouse-based resize fix (diff)
downloaddwm-3c48858ffada0825b62e52ac14b1feba4b7654a4.tar.gz
dwm-3c48858ffada0825b62e52ac14b1feba4b7654a4.zip
applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)
-rw-r--r--BUGS7
-rw-r--r--dwm.c2
2 files changed, 1 insertions, 8 deletions
diff --git a/BUGS b/BUGS
index 5ee05ab..267527d 100644
--- a/BUGS
+++ b/BUGS
@@ -25,13 +25,6 @@ reproducible with xrandr -s but not with --output and --mode, strange
25 25
26--- 26---
27 27
28> another corner case:
29
30a tiled client can be resized with mod+right click, but it only works
31on the main monitor
32
33---
34
35dmenu appears on the monitor where the pointer is and not on selmon 28dmenu appears on the monitor where the pointer is and not on selmon
36 29
37--- 30---
diff --git a/dwm.c b/dwm.c
index 4a8ee32..7b5fa4e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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;