added pointer warp on drop in resize
Anselm R. Garbe arg@suckless.org
Mon, 12 Feb 2007 10:19:52 +0100
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
event.c
→
event.c
@@ -82,6 +82,8 @@ XMaskEvent(dpy, MOUSEMASK | ExposureMask | SubstructureRedirectMask , &ev);
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: