summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-09 04:56:12 +0000
committerDana Jansens <danakj@orodu.net>2003-08-09 04:56:12 +0000
commit79e189dbac9ec5ae5baed26515ee60b8dce9a079 (patch)
tree2fe7c44adc3b4976b01c46c8ae0f8ea66fafabf2 /openbox/focus.c
parent356318b5621305c2124466fd60516459b1ffdb83 (diff)
changes to the timer api, pass the timer to the callback function.
add a desktop-switch popup with the desktop's name
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c10
1 files changed, 5 insertions, 5 deletions
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 <assert.h>
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)