diff options
| author | B4rc1 <[email protected]> | 2020-09-27 00:42:19 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-09-27 09:54:14 +0200 |
| commit | 74c9528c385310a57e9da1ad365d1c1429a7c89f (patch) | |
| tree | 83d2e41ff2a1b4f688b894b68b1be74479d18259 /patch/warp.c | |
| parent | efeb5fcbf4bbc74a0947efc4998ac3a04240d9dd (diff) | |
| download | dwm-flexipatch-74c9528c385310a57e9da1ad365d1c1429a7c89f.tar.gz dwm-flexipatch-74c9528c385310a57e9da1ad365d1c1429a7c89f.zip | |
fixed warp patch for other monitor
Diffstat (limited to 'patch/warp.c')
| -rw-r--r-- | patch/warp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patch/warp.c b/patch/warp.c index acc69f8..58e2c99 100644 --- a/patch/warp.c +++ b/patch/warp.c @@ -13,10 +13,10 @@ warp(const Client *c) y > c->y - c->bw && x < c->x + c->w + c->bw*2 && y < c->y + c->h + c->bw*2) || - x < c->mon->wx || - x > c->mon->wx + c->mon->ww || - y < c->mon->wy || - y > c->mon->wy + c->mon->wh + (x < c->mon->wx && + x > c->mon->wx + c->mon->ww) || + (y < c->mon->wy || + y > c->mon->wy + c->mon->wh) ) return; |
