forked from mirror/dwm
spotted missing spaces
This commit is contained in:
parent
2bb51b3246
commit
af8049bce8
1 changed files with 2 additions and 2 deletions
4
dwm.c
4
dwm.c
|
@ -1147,8 +1147,8 @@ resizemouse(const Arg *arg) {
|
||||||
handler[ev.type](&ev);
|
handler[ev.type](&ev);
|
||||||
break;
|
break;
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
nw = MAX(ev.xmotion.x - ocx - 2*c->bw + 1, 1);
|
nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1);
|
||||||
nh = MAX(ev.xmotion.y - ocy - 2*c->bw + 1, 1);
|
nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1);
|
||||||
|
|
||||||
if(snap && nw >= wx && nw <= wx + ww
|
if(snap && nw >= wx && nw <= wx + ww
|
||||||
&& nh >= wy && nh <= wy + wh) {
|
&& nh >= wy && nh <= wy + wh) {
|
||||||
|
|
Loading…
Reference in a new issue