diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-22 09:31:50 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-05 21:44:39 -0500 |
| commit | e04522772694682ccd11fc465d861b169675312b (patch) | |
| tree | f67debc3a2f79c71abe5e75c5f18a729a31f6ca6 /openbox/event.c | |
| parent | 15802d87b18b8a7a741c2e8d80ab6e5f79ada13e (diff) | |
Revert "Don't hide submenus immediately when unselecting the parent's entry"
This reverts commit 828c095c8b5a2df96a38faaeb8a0df504e68e70f.
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/openbox/event.c b/openbox/event.c index a0d26ab7..41f8eb16 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1841,12 +1841,7 @@ static gboolean event_handle_menu(XEvent *ev) (f = find_active_menu()) && f->selected == e && e->entry->type != OB_MENU_ENTRY_TYPE_SUBMENU) { - ObMenuEntryFrame *u = menu_entry_frame_under(ev->xcrossing.x_root, - ev->xcrossing.y_root); - /* if we're just going from one entry in the menu to the next, - don't unselect stuff first */ - if (!u || e->frame != u->frame) - menu_frame_select(e->frame, NULL, FALSE); + menu_frame_select(e->frame, NULL, FALSE); } break; case MotionNotify: |
