X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scrotwm.c;h=cbba2491a1cdc4bca26528ac67b83bac07e2424d;hb=cd77f27d662a8e9311d4227334c23a0fd4c3f2bc;hp=f86518307935be30cd56ca6aedcab55de20ecb52;hpb=8b4eb944cf0e4af9488bc51d71c40c1fdc2f90c1;p=spectrwm.git 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