]> Dogcows Code - chaz/openbox/commitdiff
Fix a typo causing submenuShowDelay to be ignored (Bug 6019)
authorTom Sires <tsires@uno.edu>
Tue, 27 Aug 2013 13:02:31 +0000 (08:02 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 1 Sep 2013 15:22:31 +0000 (11:22 -0400)
openbox/menuframe.c

index b49a221beeab41e20a60f52f152aad8b050404a4..3252bb3c76a2ae115e55728000eaaed5c01ffd5c 100644 (file)
@@ -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 =
This page took 0.023408 seconds and 4 git commands to generate.