From 92d3f2342db3d3bfd5d41a6c3dc165efa7766ffa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 25 Apr 2003 21:27:16 +0000 Subject: add helper functions for manipulating the focus_order list. move the focus popup into focus.c, out of action.c allow cycling to iconic windows, which are kept at the bottom of the focus_order lists. --- openbox/focus.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'openbox/focus.h') diff --git a/openbox/focus.h b/openbox/focus.h index ff5bc503..ed94fe78 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -36,4 +36,17 @@ void focus_fallback(FallbackType type); struct Client *focus_cycle(gboolean forward, gboolean linear, gboolean done, gboolean cancel); +/*! Add a new client into the focus order */ +void focus_order_add_new(struct Client *c); + +/*! Remove a client from the focus order */ +void focus_order_remove(struct Client *c); + +/*! Move a client to the top of the focus order */ +void focus_order_to_top(struct Client *c); + +/*! Move a client to the bottom of the focus order (keeps iconic windows at the + very bottom always though). */ +void focus_order_to_bottom(struct Client *c); + #endif -- cgit v1.2.3