openbsd-ports/x11/openbox/patches/patch-openbox-menuframe_c
jasper 2753d7666e - update openbox to 3.3.1
- zap NO_REGRESS
- re-format DESCR while there

please note there are new themes introduced, so you may find your old
theme removed.

ok naddy
2006-10-26 21:40:26 +00:00

19 lines
538 B
Plaintext

--- openbox/menuframe.c.orig Tue Oct 17 15:34:53 2006
+++ openbox/menuframe.c Tue Oct 17 15:35:50 2006
@@ -675,12 +675,14 @@
void menu_frame_hide_all()
{
+ GList *it;
+
if (config_submenu_show_delay) {
/* remove any submenu open requests */
ob_main_loop_timeout_remove(ob_main_loop,
menu_entry_frame_submenu_timeout);
}
- GList *it = g_list_last(menu_frame_visible);
+ it = g_list_last(menu_frame_visible);
if (it)
menu_frame_hide(it->data);
}