X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.h;h=19e3b363c83727110e25f5220302e1b894139815;hb=e6cc69ca04f6b275f56e1e0feef731518e0709a3;hp=af95015cb1d6f6a07766def84e46f650c157ebcd;hpb=eee483bb472b0d3e95dd2470aa49656653dd13d6;p=chaz%2Fopenbox diff --git a/openbox/focus.h b/openbox/focus.h index af95015c..19e3b363 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -15,6 +15,11 @@ extern struct Client *focus_client; /*! The recent focus order on each desktop */ extern GList **focus_order; +/*! Should new windows be focused */ +extern gboolean focus_new; +/*! Should focus follow the mouse pointer */ +extern gboolean focus_follow; + void focus_startup(); void focus_shutdown(); @@ -25,4 +30,8 @@ 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); + #endif