From 74c9528c385310a57e9da1ad365d1c1429a7c89f Mon Sep 17 00:00:00 2001 From: B4rc1 <0b4rc1@gmail.com> Date: Sun, 27 Sep 2020 00:42:19 +0200 Subject: [PATCH] fixed warp patch for other monitor --- patch/warp.c | 8 ++++---- 1 file 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;