projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd995da
)
added pointer warp on drop in resize
author
Anselm R. Garbe
<arg@suckless.org>
Mon, 12 Feb 2007 09:19:52 +0000
(10:19 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Mon, 12 Feb 2007 09:19:52 +0000
(10:19 +0100)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index c66aa72b8053c47fe6ac799becdb7cd23cd27f8e..cfe2d2aec5fda89529f12fd827884f150ea01a46 100644
(file)
--- 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: