X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fmenuframe.h;h=62df87ca3263b5a8a9f8200db96e569e7cc2a5b2;hb=8968b38338529cd0a7f2ad08a7c2e0d2e76b6e62;hp=624c3f49185f8493d1aa861fe92ffeb63ba1be17;hpb=828c095c8b5a2df96a38faaeb8a0df504e68e70f;p=chaz%2Fopenbox diff --git a/openbox/menuframe.h b/openbox/menuframe.h index 624c3f49..62df87ca 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -53,9 +53,6 @@ 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; @@ -83,6 +80,9 @@ struct _ObMenuFrame menu until it has seen a KeyPress. this is to avoid having the keybinding used to show the menu end up running something inside the menu */ + ObMenuEntryFrame * submenu_to_hide; /* if exist (single!) submenu hide request + then this variable hold a copy of 'selected' field of the parent menu, + otherwice NULL */ }; struct _ObMenuEntryFrame