diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-27 14:22:58 +0100 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-27 14:22:58 +0100 |
| commit | f68ec7323c44aa33f12934f0914ff5f0fa8d57eb (patch) | |
| tree | 00a7294c0f3608b4478d45df06045028a1d001c9 /dwm.c | |
| parent | 5075cf4dcb85383b6085589e9ca556e20d02b0d8 (diff) | |
warp cursor to next focused window after killing a window
Diffstat (limited to 'dwm.c')
| -rwxr-xr-x | dwm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1793,6 +1793,9 @@ unmanage(Client *c, int destroyed) arrange(m); focus(NULL); updateclientlist(); + if (m == selmon && m->sel) + XWarpPointer(dpy, None, m->sel->win, 0, 0, 0, 0, + m->sel->w/2, m->sel->h/2); } } |
