X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=374aeec1fc59a7b951acaf8e7bfa5fb3709318d8;hb=e1a51bdf10b336a0cc4779ebb6f62b55273c22e1;hp=1f9874ac8143d7c6469246c398aeb43e886aa8a9;hpb=3fd74abb3c2969f170d727154245cde3ef8a4b87;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index 1f9874ac..374aeec1 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -486,10 +486,10 @@ void menu_show(gchar *name, gint x, gint y, gboolean mouse, ObClient *client) menu_can_hide = TRUE; else { menu_can_hide = FALSE; - obt_main_loop_timeout_add(ob_main_loop, - config_menu_hide_delay * 1000, - menu_hide_delay_func, - NULL, g_direct_equal, NULL); + g_timeout_add_full(G_PRIORITY_DEFAULT, + config_menu_hide_delay, + menu_hide_delay_func, + NULL, NULL); } } }