X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.c;h=768176abcb218cae14fa026f4cce42675b3e197f;hb=aae4f66f68b32c8ad2760eeb12ebb9cb3d44602a;hp=476f33733bce6130f0161161276ceda1470e68a1;hpb=d915480371427b6813e7a5140caa4f15c30ee5c9;p=chaz%2Fopenbox 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);