mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
fixed warp patch for other monitor
This commit is contained in:
parent
efeb5fcbf4
commit
74c9528c38
@ -13,10 +13,10 @@ warp(const Client *c)
|
|||||||
y > c->y - c->bw &&
|
y > c->y - c->bw &&
|
||||||
x < c->x + c->w + c->bw*2 &&
|
x < c->x + c->w + c->bw*2 &&
|
||||||
y < c->y + c->h + c->bw*2) ||
|
y < c->y + c->h + c->bw*2) ||
|
||||||
x < c->mon->wx ||
|
(x < c->mon->wx &&
|
||||||
x > c->mon->wx + c->mon->ww ||
|
x > c->mon->wx + c->mon->ww) ||
|
||||||
y < c->mon->wy ||
|
(y < c->mon->wy ||
|
||||||
y > c->mon->wy + c->mon->wh
|
y > c->mon->wy + c->mon->wh)
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user