Browse Source

added pointer warp on drop in resize

config
Anselm R. Garbe 17 years ago
parent
commit
7055315725
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      event.c

+ 2
- 0
event.c View File

@ -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:


Loading…
Cancel
Save