From 0da9aa2660b51ce6208b041cc6e14f15e522c289 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 2 May 2007 00:59:07 +0000 Subject: add a slight delay to the focus/desktop switch dialogs. so if you hit the key really fast there is no flicker. of course if you hit it fast but not fast enough there is still flicker. is this cool or does this make it feel bad? i dunno. we'll see.. make the keychain popup use the new delay popup facilities --- openbox/screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index a302828b..25b7a46d 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -601,7 +601,8 @@ 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_show(desktop_cycle_popup, screen_desktop_names[d], d); + pager_popup_delay_show(desktop_cycle_popup, G_USEC_PER_SEC/12, + screen_desktop_names[d], d); } } -- cgit v1.2.3