all repos — openbox @ d6e49acf0ff267b3ee9a9f1e0102028734803747

openbox fork - make it a bit more like ryudo

dont need to ignore mouse events during a keyboard grab, they go to the grab-window anyways
use our built in grab_keyboard
Dana Jansens danakj@orodu.net
commit

d6e49acf0ff267b3ee9a9f1e0102028734803747

parent

27773e1cb7492de080bd19189b4fcd2a6b9a0e9e

2 files changed, 2 insertions(+), 3 deletions(-)

jump to
M openbox/action.copenbox/action.c

@@ -1042,7 +1042,7 @@ /* sometimes when we execute another app as an action,

it won't work right unless we XUngrabKeyboard first, even though we grabbed the key/button Asychronously. e.g. "gnome-panel-control --main-menu" */ - XUngrabKeyboard(ob_display, event_curtime); + grab_keyboard(FALSE); } for (it = acts; it; it = g_slist_next(it)) {
M openbox/event.copenbox/event.c

@@ -591,8 +591,7 @@ NULL, g_direct_equal, NULL);

if (e->type == ButtonPress || e->type == ButtonRelease || e->type == MotionNotify) { - if (!keyboard_interactively_grabbed()) - mouse_event(client, e); + mouse_event(client, e); } else if (e->type == KeyPress) { keyboard_event((focus_cycle_target ? focus_cycle_target : (focus_hilite ? focus_hilite : client)),