diff options
Diffstat (limited to 'openbox/menuframe.c')
| -rw-r--r-- | openbox/menuframe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 476f3373..768176ab 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -924,6 +924,9 @@ static gboolean menu_frame_show(ObMenuFrame *self) menu_frame_visible = g_list_prepend(menu_frame_visible, self); + if (self->menu->show_func) + self->menu->show_func(self, self->menu->data); + return TRUE; } @@ -1006,6 +1009,9 @@ void menu_frame_hide(ObMenuFrame *self) if (!it) return; + if (self->menu->hide_func) + self->menu->hide_func(self, self->menu->data); + if (self->child) menu_frame_hide(self->child); |
