From a916f33b0a702bde6ed1db75bb078755f5699180 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 2 Oct 2009 20:00:20 +0000 Subject: [PATCH] Add +1 adfter a cyclescreen to give root_to_region a better chance of working. --- scrotwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4