]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
add --reconfigure option to openbox.
[chaz/openbox] / openbox / menuframe.c
index a3aee8bef2b63c5350cbe216c83111915f34b619..e9fc32da0a946510e1d85e7b4f3a06a19cce01e1 100644 (file)
@@ -676,13 +676,14 @@ void menu_frame_hide(ObMenuFrame *self)
 
 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);
-    if (it) 
+    if ((it = g_list_last(menu_frame_visible)))
         menu_frame_hide(it->data);
 }
 
This page took 0.019738 seconds and 4 git commands to generate.