diff options
author | sabetts <sabetts> | 2006-04-01 21:41:29 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-04-01 21:41:29 +0000 |
commit | 2b3cbb9dd53d9b329435cb7533d38f141a6d862a (patch) | |
tree | 16e0ee8c3bc17e84e773c979b79ce0c70378bd3c | |
parent | dc4bfe1924cbb31c574441886cc6036727290518 (diff) | |
download | ratpoison-2b3cbb9dd53d9b329435cb7533d38f141a6d862a.zip |
(grab_key): grab the keyboard synchronously
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/input.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-04-01 Shawn Betts <sabetts@vcn.bc.ca> + + * src/input.c (grab_key): grab the keyboard synchronously + 2006-03-16 Ryan Yeske <rcyeske@gmail.com> * doc/ratpoison.texi (Groups): Fix description of gnew command. diff --git a/src/input.c b/src/input.c index f53caff..5fcb303 100644 --- a/src/input.c +++ b/src/input.c @@ -211,7 +211,7 @@ grab_key (KeySym keysym, unsigned int modifiers, Window grab_window) for (i=0; i<8; i++) { XGrabKey(dpy, keycode, modifiers | mod_list[i], - grab_window, True, GrabModeAsync, GrabModeAsync); + grab_window, True, GrabModeAsync, GrabModeSync); } } |