summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-01-30 17:14:09 +0000
committersabetts <sabetts>2005-01-30 17:14:09 +0000
commit0bdabfc3cbd3965ad3cc4863c8f7abe328475bbc (patch)
tree0f6a05822a85cf07a08d62fdbd7c70abc2965734 /src
parent756a2c5e7ece7a8deb19fd680172f6a842e1f165 (diff)
downloadratpoison-0bdabfc3cbd3965ad3cc4863c8f7abe328475bbc.zip
(cmd_undefinekey): call XSync after ungrabbing and grabbing all
keys.
Diffstat (limited to 'src')
-rw-r--r--src/actions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index df8a4b5..5b490df 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -927,6 +927,7 @@ cmd_undefinekey (int interactive, struct cmdarg **args)
/* Update the grabbed keys. */
if (map == find_keymap (TOP_KEYMAP))
grab_keys_all_wins ();
+ XSync (dpy, False);
if (ret)
return ret;