fixed warp patch for other monitor

This commit is contained in:
B4rc1 2020-09-27 00:42:19 +02:00 committed by bakkeby
parent efeb5fcbf4
commit 74c9528c38

View File

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