From f2890f35b706e169a14240a10a849fa83f35ba25 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 2 May 2007 23:43:36 +0000 Subject: [PATCH] remove delay for focus/desktop popups. its fast anyway any not showing it is annoying --- openbox/focus.c | 8 ++++---- openbox/screen.c | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/openbox/focus.c b/openbox/focus.c index c9c18955..8fcb13f9 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -318,10 +318,10 @@ static void popup_cycle(ObClient *c, gboolean show) (p->iconic ? p->icon_title : p->title), NULL); */ - icon_popup_delay_show(focus_cycle_popup, G_USEC_PER_SEC/12, - (title ? title : - (c->iconic ? c->icon_title : c->title)), - client_icon(p, 48, 48)); + icon_popup_show(focus_cycle_popup, + (title ? title : + (c->iconic ? c->icon_title : c->title)), + client_icon(p, 48, 48)); g_free(title); } } diff --git a/openbox/screen.c b/openbox/screen.c index 25b7a46d..a302828b 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -601,8 +601,7 @@ void screen_desktop_popup(guint d, gboolean show) pager_popup_width(desktop_cycle_popup, MAX(a->width/3, POPUP_WIDTH)); pager_popup_height(desktop_cycle_popup, POPUP_HEIGHT); - pager_popup_delay_show(desktop_cycle_popup, G_USEC_PER_SEC/12, - screen_desktop_names[d], d); + pager_popup_show(desktop_cycle_popup, screen_desktop_names[d], d); } } -- 2.39.2