[hackers] [wmii] Grab buttons with the keyboard grab async until these freezes are fixed

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Feb 12 21:37:18 2007

changeset: 1856:f3b3c4f379eb
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 12 15:33:19 2007 -0500
summary: Grab buttons with the keyboard grab async until these freezes are fixed

diff -r 0c641e3e2850 -r f3b3c4f379eb mouse.c
--- a/mouse.c Mon Feb 12 14:05:45 2007 -0500
+++ b/mouse.c Mon Feb 12 15:33:19 2007 -0500
@@ -465,8 +465,8 @@ grab_button(Window w, uint button, ulong
                         GrabModeSync, GrabModeSync, None, None);
         if((mod != AnyModifier) && num_lock_mask) {
                 XGrabButton(blz.dpy, button, mod | num_lock_mask, w, False, ButtonMask,
- GrabModeSync, GrabModeSync, None, None);
+ GrabModeSync, GrabModeAsync, None, None);
                 XGrabButton(blz.dpy, button, mod | num_lock_mask | LockMask, w, False,
- ButtonMask, GrabModeSync, GrabModeSync, None, None);
- }
-}
+ ButtonMask, GrabModeSync, GrabModeAsync, None, None);
+ }
+}
Received on Mon Feb 12 2007 - 21:37:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:14 UTC