summaryrefslogtreecommitdiff
path: root/openbox/menuframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/menuframe.h')
-rw-r--r--openbox/menuframe.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/menuframe.h b/openbox/menuframe.h
index 191bcfe8..06975972 100644
--- a/openbox/menuframe.h
+++ b/openbox/menuframe.h
@@ -73,6 +73,11 @@ struct _ObMenuFrame
RrAppearance *a_title;
RrAppearance *a_items;
+
+ gboolean got_press; /* don't allow a KeyRelease event to run things in the
+ 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 */
};
struct _ObMenuEntryFrame