X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.h;h=4c8d4c98862d589cad55aea1954f22f228e3681d;hb=f278ec41e4c310da218563e7d443df32783e26e4;hp=6a86965a69e762a29970d0ed935a97d4f877a424;hpb=fc32577766755a84ac883b4d862fab3c5e681642;p=chaz%2Fopenbox 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