Don't use GrabModeSync, it hangs the xserver on chains sometimes. More or less a revert of 5bfa48dcffec3b00d119d851cb2427a43f80aa7b "Grab key bindings with GrabModeSync" See also bug #3582.
Mikael Magnusson mikachu@comhem.se
1 files changed,
2 insertions(+),
4 deletions(-)
jump to
M
openbox/keyboard.c
→
openbox/keyboard.c
@@ -53,13 +53,13 @@ p = curpos ? curpos->first_child : keyboard_firstnode;
while (p) { if (p->key) grab_key(p->key, p->state, RootWindow(ob_display, ob_screen), - GrabModeSync); + GrabModeAsync); p = p->next_sibling; } if (curpos) grab_key(config_keyboard_reset_keycode, config_keyboard_reset_state, - RootWindow(ob_display, ob_screen), GrabModeSync); + RootWindow(ob_display, ob_screen), GrabModeAsync); } }@@ -263,8 +263,6 @@ break;
} p = p->next_sibling; } - - XAllowEvents(ob_display, AsyncKeyboard, event_curtime); } static void node_rebind(KeyBindingTree *node)