changeset: 1813:64fe38bb4d58
parent: 1811:01cbfde535d4
user: Kris Maglione <jg_AT_suckless.org>
date: Fri Feb 09 16:27:10 2007 -0500
summary: Improvements to button grabs
diff -r 761af72a793e -r 64fe38bb4d58 client.c
--- a/client.c Fri Feb 09 16:26:23 2007 -0500
+++ b/client.c Fri Feb 09 16:27:10 2007 -0500
@@ -51,9 +51,9 @@ create_client(Window w, XWindowAttribute
DefaultDepth(blz.dpy, blz.screen), CopyFromParent,
DefaultVisual(blz.dpy, blz.screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &fwa);
- XGrabButton(blz.dpy, Button1, AnyModifier, c->framewin, True, ButtonMask,
+ XGrabButton(blz.dpy, Button1, AnyModifier, c->framewin, True, ButtonPressMask,
GrabModeSync, GrabModeAsync, None, None);
- XGrabButton(blz.dpy, Button3, AnyModifier, c->framewin, True, ButtonMask,
+ XGrabButton(blz.dpy, Button3, AnyModifier, c->framewin, True, ButtonPressMask,
GrabModeSync, GrabModeAsync, None, None);
c->gc = XCreateGC(blz.dpy, c->framewin, 0, 0);
XSync(blz.dpy, False);
Received on Fri Feb 09 2007 - 22:33:17 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:06 UTC