]> Dogcows Code - chaz/openbox/blobdiff - openbox/dock.c
Merge branch 'master' into chaz
[chaz/openbox] / openbox / dock.c
index 00abc53057348270da7e6db95e6ac885e3953480..f18683d6044e5d684a0e24414319cc3028334376 100644 (file)
@@ -551,6 +551,8 @@ void dock_configure(void)
         dock->area.height += ob_rr_theme->obwidth * 2;
     }
 
+    /* screen_resize() depends on this function to call screen_update_areas(),
+       so if this changes, also update screen_resize(). */
     screen_update_areas();
 }
 
@@ -660,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);
This page took 0.021996 seconds and 4 git commands to generate.