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 /src | |
parent | dc4bfe1924cbb31c574441886cc6036727290518 (diff) | |
download | ratpoison-2b3cbb9dd53d9b329435cb7533d38f141a6d862a.zip |
(grab_key): grab the keyboard synchronously
Diffstat (limited to 'src')
-rw-r--r-- | src/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |