diff options
| author | Jake Koroman <jake@jakekoroman.com> | 2025-10-18 09:53:15 -0400 |
|---|---|---|
| committer | Jake Koroman <jake@jakekoroman.com> | 2025-10-18 09:53:15 -0400 |
| commit | 824ebb2d3428f4050d06bb140c98c6e23f22b5bc (patch) | |
| tree | 22d8f6711fcf2f1f598487df768b8d534d3ceec9 | |
| parent | 8ae941a88f59468d1bc753f6b903a8d579f25419 (diff) | |
dwm.c: warp pointer when changing monitor focus.
| -rw-r--r-- | dwm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -891,6 +891,7 @@ focusmon(const Arg *arg) unfocus(selmon->sel, 0); selmon = m; focus(NULL); + XWarpPointer(dpy, None, root, 0, 0, 0, 0, selmon->mx + selmon->mw/2, selmon->my + selmon->mh/2); } void |
