summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-02 23:43:36 +0000
committerDana Jansens <danakj@orodu.net>2007-05-02 23:43:36 +0000
commitf2890f35b706e169a14240a10a849fa83f35ba25 (patch)
tree500977ffb1a0f60c6b4818d44ab99167e1f35a2b
parentec850570ef973677cbb7663ed64eea45d616bdec (diff)
remove delay for focus/desktop popups. its fast anyway any not showing it is annoying
-rw-r--r--openbox/focus.c8
-rw-r--r--openbox/screen.c3
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);
}
}