From: Marco Peereboom Date: Fri, 2 Oct 2009 20:00:20 +0000 (+0000) Subject: Add +1 adfter a cyclescreen to give root_to_region a better chance of X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=a916f33b0a702bde6ed1db75bb078755f5699180;p=spectrwm.git Add +1 adfter a cyclescreen to give root_to_region a better chance of working. --- diff --git a/scrotwm.c b/scrotwm.c index f865183..cbba249 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -1365,8 +1365,8 @@ cyclescr(struct swm_region *r, union arg *args) }; unfocus_all(); XSetInputFocus(display, PointerRoot, RevertToPointerRoot, CurrentTime); - XWarpPointer(display, None, rr->s[i].root, 0, 0, 0, 0, rr->g.x, - rr->g.y + bar_enabled ? bar_height : 0); + XWarpPointer(display, None, rr->s[i].root, 0, 0, 0, 0, rr->g.x + 1, + rr->g.y + bar_enabled + 1 ? bar_height : 0); } void