summaryrefslogtreecommitdiff
path: root/openbox/focus.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-08 01:03:26 +0000
committerDana Jansens <danakj@orodu.net>2003-04-08 01:03:26 +0000
commitf278ec41e4c310da218563e7d443df32783e26e4 (patch)
tree4132f4bebfacfb7b0956fbe49a7185f909197ac9 /openbox/focus.h
parentfc32577766755a84ac883b4d862fab3c5e681642 (diff)
fallback to transients' parents when possible.
return the Client* which was focused from focus_cycle
Diffstat (limited to 'openbox/focus.h')
-rw-r--r--openbox/focus.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbox/focus.h b/openbox/focus.h
index 6a86965a..4c8d4c98 100644
--- a/openbox/focus.h
+++ b/openbox/focus.h
@@ -30,8 +30,9 @@ void focus_set_client(struct Client *client);
/*! Call this when you need to focus something! */
void focus_fallback(gboolean switching_desks);
-/*! Cycle focus amongst windows */
-void focus_cycle(gboolean forward, gboolean linear, gboolean done,
- gboolean cancel);
+/*! Cycle focus amongst windows
+ Returns the Client to which focus has been cycled, or NULL if none. */
+struct Client *focus_cycle(gboolean forward, gboolean linear, gboolean done,
+ gboolean cancel);
#endif