Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
dd46d5b
)
applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)
author
Anselm R Garbe <
[email protected]
>
Fri, 25 Mar 2011 13:57:54 +0000
(13:57 +0000)
committer
Anselm R Garbe <
[email protected]
>
Fri, 25 Mar 2011 13:57:54 +0000
(13:57 +0000)
BUGS
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/BUGS
b/BUGS
index
5ee05ab
..
267527d
100644
(file)
--- a/
BUGS
+++ b/
BUGS
@@
-25,13
+25,6
@@
reproducible with xrandr -s but not with --output and --mode, strange
---
---
-> 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
---
dmenu appears on the monitor where the pointer is and not on selmon
---
diff --git
a/dwm.c
b/dwm.c
index
4a8ee32
..
7b5fa4e
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1202,7
+1202,7
@@
movemouse(const Arg *arg) {
case MotionNotify:
nx = ocx + (ev.xmotion.x - x);
ny = ocy + (ev.xmotion.y - y);
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;
&& ny >= selmon->wy && ny <= selmon->wy + selmon->wh) {
if(abs(selmon->wx - nx) < snap)
nx = selmon->wx;