Applied 'cursorwrap' version '20210222-61bb8b2' (changing windows and monitors).

This commit is contained in:
2021-07-18 12:29:31 -05:00
parent ef2b7e2986
commit aa789b7339
+3
View File
@@ -832,6 +832,8 @@ focusmon(const Arg *arg)
unfocus(selmon->sel, 0);
selmon = m;
focus(NULL);
if (selmon->sel)
XWarpPointer(dpy, None, selmon->sel->win, 0, 0, 0, 0, selmon->sel->w/2, selmon->sel->h/2);
}
void
@@ -857,6 +859,7 @@ focusstack(const Arg *arg)
if (c) {
focus(c);
restack(selmon);
XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, c->w/2, c->h/2);
}
}