X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fdock.c;h=70e1127290657c54558e6ce23bbae33ccdf5c4be;hb=939fbcfd31e07a6e0f1cdbfcef9b04f63e6af700;hp=53c791396a1d7254d89d885dc9cdfaba75e19c80;hpb=8612fcfb99f4ed97f49c3617fd2ae291877c8c8e;p=chaz%2Fopenbox diff --git a/openbox/dock.c b/openbox/dock.c index 53c79139..70e11272 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -616,14 +616,14 @@ void dock_hide(gboolean hide) if (!hide) { if (dock->hidden && config_dock_hide) { ob_main_loop_timeout_add(ob_main_loop, config_dock_show_delay, - show_timeout, NULL, NULL); + show_timeout, NULL, g_direct_equal, NULL); } else if (!dock->hidden && config_dock_hide) { ob_main_loop_timeout_remove(ob_main_loop, hide_timeout); } } else { if (!dock->hidden && config_dock_hide) { ob_main_loop_timeout_add(ob_main_loop, config_dock_hide_delay, - hide_timeout, NULL, NULL); + hide_timeout, NULL, g_direct_equal, NULL); } else if (dock->hidden && config_dock_hide) { ob_main_loop_timeout_remove(ob_main_loop, show_timeout); }