diff options
| author | Tom Sires <tsires@uno.edu> | 2013-08-27 08:02:31 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2013-09-01 11:22:31 -0400 |
| commit | 0afb5b28c63651c1e598bbd4d88c60ac0b478567 (patch) | |
| tree | e0427675ff2d6098679c79d9a4f419acb5203df0 | |
| parent | 0a7ff45e4930a72968911325a019f0ea64b62a43 (diff) | |
Fix a typo causing submenuShowDelay to be ignored (Bug 6019)
| -rw-r--r-- | openbox/menuframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 = |
