all repos — openbox @ e68e6c6a536a2132570ddf1d1d3759bb31ef781e

openbox fork - make it a bit more like ryudo

expose focus_cycle_client
Dana Jansens danakj@orodu.net
commit

e68e6c6a536a2132570ddf1d1d3759bb31ef781e

parent

b8e4eecc9f6b69bfc69b694360fb427e6ec800ad

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/focus.copenbox/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)
M openbox/focus.hopenbox/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;