added pointer warp on drop in resize
This commit is contained in:
parent
fd995dac78
commit
7055315725
2
event.c
2
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user