summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index f79f9c2..4d549f6 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2062,6 +2062,7 @@ swapfocus()
for(c = selmon->clients; c && c != prevclient; c = c->next) ;
if(c == prevclient)
focus(prevclient);
+ XWarpPointer(dpy, None, selmon->sel->win, 0, 0, 0, 0, selmon->sel->w/2, selmon->sel->h/2);
}
void