remove delay for focus/desktop popups. its fast anyway any not showing it is annoying

This commit is contained in:
Dana Jansens 2007-05-02 23:43:36 +00:00
parent ec850570ef
commit f2890f35b7
2 changed files with 5 additions and 6 deletions

View file

@ -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);
}
}

View file

@ -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);
}
}