summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-19 20:58:10 +0000
committerDana Jansens <danakj@orodu.net>2007-05-19 20:58:10 +0000
commit83da4ec9398d197f39461cd7305163b2676840c8 (patch)
tree6c31a2cac15d607198558d87627fbc23564b71d8 /openbox/menuframe.c
parentea272a93efe26bb6c0b0d9278cee4a67cc9c872e (diff)
fix escape's behavior in menus. make static stuff that shouldnt be used by others
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 68ea4949..b908ad4f 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -45,6 +45,7 @@ static ObMenuEntryFrame* menu_entry_frame_new(ObMenuEntry *entry,
static void menu_entry_frame_free(ObMenuEntryFrame *self);
static void menu_frame_update(ObMenuFrame *self);
static gboolean menu_entry_frame_submenu_timeout(gpointer data);
+static void menu_frame_hide(ObMenuFrame *self);
static Window createWindow(Window parent, gulong mask,
XSetWindowAttributes *attrib)
@@ -1013,7 +1014,7 @@ gboolean menu_frame_show_submenu(ObMenuFrame *self, ObMenuFrame *parent,
return TRUE;
}
-void menu_frame_hide(ObMenuFrame *self)
+static void menu_frame_hide(ObMenuFrame *self)
{
GList *it = g_list_find(menu_frame_visible, self);