all repos — openbox @ 5a3a7668d9e3ebe995603fadd2da22cbe1c31c83

openbox fork - make it a bit more like ryudo

highlight for motion events in the menu too, this is useful when the enter gets ignored cuz the mouse was already inside it
Dana Jansens danakj@orodu.net
commit

5a3a7668d9e3ebe995603fadd2da22cbe1c31c83

parent

51c3c8c34a9a3a12423a18d12d4c7b9f809151fc

1 files changed, 5 insertions(+), 0 deletions(-)

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

@@ -1300,6 +1300,11 @@ e->entry->type != OB_MENU_ENTRY_TYPE_SUBMENU)

{ menu_frame_select(e->frame, NULL); } + case MotionNotify: + if ((e = menu_entry_frame_under(ev->xmotion.x_root, + ev->xmotion.y_root))) + menu_frame_select(e->frame, e); + break; case KeyPress: if (ev->xkey.keycode == ob_keycode(OB_KEY_ESCAPE)) menu_frame_hide_all();