summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-08 18:20:09 +0000
committerDana Jansens <danakj@orodu.net>2003-09-08 18:20:09 +0000
commite68e6c6a536a2132570ddf1d1d3759bb31ef781e (patch)
treee2e9372346710a5eb63987390dc2d8f82f554fa0 /openbox
parentb8e4eecc9f6b69bfc69b694360fb427e6ec800ad (diff)
expose focus_cycle_client
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c2
-rw-r--r--openbox/focus.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 36be7456..e6e6bba1 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -20,8 +20,8 @@
ObClient *focus_client;
GList **focus_order; /* these lists are created when screen_startup
sets the number of desktops */
+ObClient *focus_cycle_target;
-static ObClient *focus_cycle_target;
static Popup *focus_cycle_popup;
void focus_startup(gboolean reconfig)
diff --git a/openbox/focus.h b/openbox/focus.h
index 1b1ce066..87f9375a 100644
--- a/openbox/focus.h
+++ b/openbox/focus.h
@@ -10,6 +10,8 @@ struct _ObClient;
/*! The client which is currently focused */
extern struct _ObClient *focus_client;
+/*! The client which appears focused during a focus cycle operation */
+extern struct _ObClient *focus_cycle_target;
/*! The recent focus order on each desktop */
extern GList **focus_order;