Dock used showDelay for both hiding and showing (Bug 5811)
authorLefteris Chatzimparmpas <lefcha@fastmail.net>
Sun, 11 Aug 2013 12:45:29 +0000 (14:45 +0200)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 17:13:41 +0000 (13:13 -0400)
openbox/dock.c

index c26eee6..f18683d 100644 (file)
@@ -662,7 +662,7 @@ void dock_hide(gboolean hide)
     } else {
         if (!dock->hidden && config_dock_hide) {
             hide_timeout_id = g_timeout_add_full(G_PRIORITY_DEFAULT,
-                                                 config_dock_show_delay,
+                                                 config_dock_hide_delay,
                                                  hide_timeout, NULL, NULL);
         } else if (dock->hidden && config_dock_hide && show_timeout_id) {
             if (show_timeout_id) g_source_remove(show_timeout_id);