summaryrefslogtreecommitdiff
path: root/openbox/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/menu.h')
-rw-r--r--openbox/menu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/menu.h b/openbox/menu.h
index 5e5e859e..09938fcd 100644
--- a/openbox/menu.h
+++ b/openbox/menu.h
@@ -64,6 +64,8 @@ struct _ObMenu
gunichar shortcut;
/*! The shortcut's position in the string */
guint shortcut_position;
+ /*! If the shortcut was specified by & and should always be drawn */
+ gboolean shortcut_always_show;
/*! If the shortcut key should be shown in menu entries even when it
is the first character in the string */
@@ -105,6 +107,8 @@ struct _ObNormalMenuEntry {
gunichar shortcut;
/*! The shortcut's position in the string */
guint shortcut_position;
+ /*! If the shortcut was specified by & and should always be drawn */
+ gboolean shortcut_always_show;
/* state */
gboolean enabled;