From 79e189dbac9ec5ae5baed26515ee60b8dce9a079 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 9 Aug 2003 04:56:12 +0000 Subject: changes to the timer api, pass the timer to the callback function. add a desktop-switch popup with the desktop's name --- openbox/focus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'openbox/focus.c') diff --git a/openbox/focus.c b/openbox/focus.c index dfa9c42d..1642261d 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -19,11 +19,11 @@ #include ObClient *focus_client; -GList **focus_order = NULL; /* these lists are created when screen_startup - sets the number of desktops */ +GList **focus_order; /* these lists are created when screen_startup + sets the number of desktops */ -static ObClient *focus_cycle_target = NULL; -static Popup *focus_cycle_popup = NULL; +static ObClient *focus_cycle_target; +static Popup *focus_cycle_popup; void focus_startup() { @@ -240,7 +240,7 @@ static void popup_cycle(ObClient *c, gboolean show) */ /* XXX the size and the font extents need to be related on some level */ - popup_size(focus_cycle_popup, 320, 48); + popup_size(focus_cycle_popup, POPUP_WIDTH, POPUP_HEIGHT); /* use the transient's parent's title/icon */ while (p->transient_for && p->transient_for != OB_TRAN_GROUP) -- cgit v1.2.3