applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :) 3c48858f
Anselm R Garbe · 2011-03-25 13:57 2 file(s) · +1 −8
BUGS +0 −7
25 25
26 26
---
27 27
28 -
> another corner case:
29 -
30 -
a tiled client can be resized with mod+right click, but it only works
31 -
on the main monitor
32 -
33 -
---
34 -
35 28
dmenu appears on the monitor where the pointer is and not on selmon
36 29
37 30
---
dwm.c +1 −1
1202 1202
		case MotionNotify:
1203 1203
			nx = ocx + (ev.xmotion.x - x);
1204 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 1206
			&& ny >= selmon->wy && ny <= selmon->wy + selmon->wh) {
1207 1207
				if(abs(selmon->wx - nx) < snap)
1208 1208
					nx = selmon->wx;