tapplied Hiltjos' BUGS patch from 23 Mar, sorry took a while :) - dwm - [fork] … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3c48858ffada0825b62e52ac14b1feba4b7654a4 | |
parent dd46d5b588dc5d33940bde87817f3e8d608788d4 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Fri, 25 Mar 2011 13:57:54 +0000 | |
applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :) | |
Diffstat: | |
M BUGS | 7 ------- | |
M dwm.c | 2 +- | |
2 files changed, 1 insertion(+), 8 deletions(-) | |
--- | |
diff --git a/BUGS b/BUGS | |
t@@ -25,13 +25,6 @@ reproducible with xrandr -s but not with --output and --mod… | |
--- | |
-> another corner case: | |
- | |
-a tiled client can be resized with mod+right click, but it only works | |
-on the main monitor | |
- | |
---- | |
- | |
dmenu appears on the monitor where the pointer is and not on selmon | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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 + selm… | |
+ 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; |