diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-14 18:18:10 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-14 18:18:10 -0500 |
| commit | 828c095c8b5a2df96a38faaeb8a0df504e68e70f (patch) | |
| tree | 72dca50aeee8b7b042387fb830c99daf5a4921b8 /openbox/menuframe.h | |
| parent | 111465b7373cdcdd791b603aefd882ae06d5bf0b (diff) | |
Don't hide submenus immediately when unselecting the parent's entry
This allows users to move to the submenu across other menu items (the same
as they already could across other menu items that were submenus).
This uses the same config delay for hiding submenus as it does for showing
new ones.
Based off the ideas in bug #3762.
Diffstat (limited to 'openbox/menuframe.h')
| -rw-r--r-- | openbox/menuframe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/menuframe.h b/openbox/menuframe.h index 1b1dcc70..624c3f49 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -53,6 +53,9 @@ struct _ObMenuFrame GList *entries; ObMenuEntryFrame *selected; + /* if a submenu was selected, then this holds the entry for that submenu + until it is closed */ + ObMenuEntryFrame *open_submenu; /* show entries from the menu starting at this index */ guint show_from; |
