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
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
openbox/event.c
→
openbox/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();