Ignore MotionNotify on menus, it reset the submenudelay timer It also caused the slightest cursor movement to activate the entry under the cursor when navigating via the keyboard.
Mikael Magnusson mikachu@gmail.com
1 files changed,
0 insertions(+),
12 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -1810,18 +1810,6 @@ menu_frame_hide_all();
} ret = TRUE; } - else if (ev->type == MotionNotify) { - ObMenuFrame *f; - ObMenuEntryFrame *e; - - if ((e = menu_entry_frame_under(ev->xmotion.x_root, - ev->xmotion.y_root))) - if (!(f = find_active_menu()) || - f == e->frame || - f->parent == e->frame || - f->child == e->frame) - menu_frame_select(e->frame, e, FALSE); - } else if (ev->type == KeyPress || ev->type == KeyRelease) { guint mods; ObMenuFrame *frame;