summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-04-01 21:41:29 +0000
committersabetts <sabetts>2006-04-01 21:41:29 +0000
commit2b3cbb9dd53d9b329435cb7533d38f141a6d862a (patch)
tree16e0ee8c3bc17e84e773c979b79ce0c70378bd3c /src
parentdc4bfe1924cbb31c574441886cc6036727290518 (diff)
downloadratpoison-2b3cbb9dd53d9b329435cb7533d38f141a6d862a.zip
(grab_key): grab the keyboard synchronously
Diffstat (limited to 'src')
-rw-r--r--src/input.c2
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);
}
}