summaryrefslogtreecommitdiff
path: root/openbox/menu.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-23 19:59:32 +0000
committerDana Jansens <danakj@orodu.net>2007-06-23 19:59:32 +0000
commitc62cf92cb8baaaaef0f8f2ab7de2eb6168736f4a (patch)
treeaa7e7de3fcbe992caf0a4dc9a229a7cc04e044f9 /openbox/menu.h
parent97792a403a52c12c2601a7b2caebdea197f0b5f0 (diff)
add shortcuts to add/remove desktops in the client list menus.
also make it so &-specified shortcuts are always underlined
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;