From: Tom Sires Date: Tue, 27 Aug 2013 13:02:31 +0000 (-0500) Subject: Fix a typo causing submenuShowDelay to be ignored (Bug 6019) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0afb5b28c63651c1e598bbd4d88c60ac0b478567;p=chaz%2Fopenbox Fix a typo causing submenuShowDelay to be ignored (Bug 6019) --- diff --git a/openbox/menuframe.c b/openbox/menuframe.c index b49a221b..3252bb3c 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -1242,9 +1242,9 @@ void menu_frame_select(ObMenuFrame *self, ObMenuEntryFrame *entry, if (self->selected->entry->type == OB_MENU_ENTRY_TYPE_SUBMENU) { /* only show if the submenu isn't already showing */ if (oldchild_entry != self->selected) { - if (immediate || config_submenu_hide_delay == 0) + if (immediate || config_submenu_show_delay == 0) menu_entry_frame_show_submenu(self->selected); - else if (config_submenu_hide_delay > 0) { + else if (config_submenu_show_delay > 0) { if (submenu_show_timer) g_source_remove(submenu_show_timer); submenu_show_timer =