tadded pointer warp on drop in resize - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7055315725c66eea7861137d9146d10d62d4cee1
DIR parent fd995dac78e34cc427abd7198af0db957a40664a
HTML Author: Anselm R. Garbe <arg@suckless.org>
Date: Mon, 12 Feb 2007 10:19:52 +0100
added pointer warp on drop in resize
Diffstat:
M event.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/event.c b/event.c
t@@ -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: