summaryrefslogtreecommitdiff
path: root/openbox/focus.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-25 21:27:16 +0000
committerDana Jansens <danakj@orodu.net>2003-04-25 21:27:16 +0000
commit92d3f2342db3d3bfd5d41a6c3dc165efa7766ffa (patch)
tree7a2167c4fe40b93838d7cbb91d13442367532c49 /openbox/focus.h
parent16a9ac018ed77e245e873be60729be509fa1ce92 (diff)
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.
Diffstat (limited to 'openbox/focus.h')
-rw-r--r--openbox/focus.h13
1 files changed, 13 insertions, 0 deletions
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