diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 64a5d6071..9873c1c73 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -1213,6 +1213,8 @@ meta_change_button_grab (MetaKeyBindingManager *keys, META_VIRTUAL_CORE_POINTER_ID, button, xwindow, mods->len, (XIGrabModifiers *)mods->data); + XSync (xdisplay, False); + meta_clutter_x11_untrap_x_errors (); g_array_free (mods, TRUE); @@ -1459,6 +1461,8 @@ meta_change_keygrab (MetaKeyBindingManager *keys, mods->len, (XIGrabModifiers *)mods->data); } + XSync (xdisplay, False); + meta_clutter_x11_untrap_x_errors (); g_array_free (mods, TRUE);