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;