added pointer warp on drop in resize

pull/1/head
Anselm R. Garbe 18 years ago
parent fd995dac78
commit 7055315725
  1. 2
      event.c

@ -82,6 +82,8 @@ resizemouse(Client *c) {
switch(ev.type) { switch(ev.type) {
case ButtonRelease: case ButtonRelease:
resize(c, True); 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); XUngrabPointer(dpy, CurrentTime);
return; return;
case ConfigureRequest: case ConfigureRequest:

Loading…
Cancel
Save