From 7055315725c66eea7861137d9146d10d62d4cee1 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 12 Feb 2007 10:19:52 +0100 Subject: added pointer warp on drop in resize --- event.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.2.3-70-g09d2