projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed8c7e
)
Don't use GrabModeSync, it hangs the xserver on chains sometimes.
author
Mikael Magnusson
<mikachu@comhem.se>
Wed, 19 Mar 2008 11:49:50 +0000
(12:49 +0100)
committer
Mikael Magnusson
<mikachu@comhem.se>
Wed, 19 Mar 2008 11:50:06 +0000
(12:50 +0100)
openbox/keyboard.c
patch
|
blob
|
history
diff --git
a/openbox/keyboard.c
b/openbox/keyboard.c
index ca3992d501f10403efa505d3e4c7b24ea83a064d..2f869de563364b00ab99e7a530a351856a7279d9 100644
(file)
--- a/
openbox/keyboard.c
+++ b/
openbox/keyboard.c
@@
-51,13
+51,13
@@
static void grab_keys(gboolean grab)
while (p) {
if (p->key && p->grab)
grab_key(p->key, p->state, obt_root(ob_screen),
- GrabMode
S
ync);
+ GrabMode
As
ync);
p = p->next_sibling;
}
if (curpos)
grab_key(config_keyboard_reset_keycode,
config_keyboard_reset_state,
- obt_root(ob_screen), GrabMode
S
ync);
+ obt_root(ob_screen), GrabMode
As
ync);
}
}
@@
-261,8
+261,6
@@
void keyboard_event(ObClient *client, const XEvent *e)
}
p = p->next_sibling;
}
-
- XAllowEvents(obt_display, AsyncKeyboard, event_curtime);
}
static void node_rebind(KeyBindingTree *node)