aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/event.c b/event.c
index c66aa72..cfe2d2a 100644
--- a/event.c
+++ b/event.c
@@ -82,6 +82,8 @@ resizemouse(Client *c) {
switch(ev.type) {
case ButtonRelease:
resize(c, True);
+ XWarpPointer(dpy, None, c->win, 0, 0, 0, 0,
+ c->w + c->border - 1, c->h + c->border - 1);
XUngrabPointer(dpy, CurrentTime);
return;
case ConfigureRequest:
remember that computers suck.