Browse Source

applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)

config
Anselm R Garbe 13 years ago
parent
commit
3c48858ffa
2 changed files with 1 additions and 8 deletions
  1. +0
    -7
      BUGS
  2. +1
    -1
      dwm.c

+ 0
- 7
BUGS View File

@ -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
--- ---


+ 1
- 1
dwm.c View File

@ -1202,7 +1202,7 @@ movemouse(const Arg *arg) {
case MotionNotify: case MotionNotify:
nx = ocx + (ev.xmotion.x - x); nx = ocx + (ev.xmotion.x - x);
ny = ocy + (ev.xmotion.y - y); 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) { && ny >= selmon->wy && ny <= selmon->wy + selmon->wh) {
if(abs(selmon->wx - nx) < snap) if(abs(selmon->wx - nx) < snap)
nx = selmon->wx; nx = selmon->wx;


Loading…
Cancel
Save