From: Dana Jansens Date: Mon, 8 Sep 2003 18:20:09 +0000 (+0000) Subject: expose focus_cycle_client X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e68e6c6a536a2132570ddf1d1d3759bb31ef781e;p=chaz%2Fopenbox expose focus_cycle_client --- 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;