X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.h;h=19e3b363c83727110e25f5220302e1b894139815;hb=db086ef336e01ee23c777f3dc6678568565d44ef;hp=976b50dfdf73a7ebf8e9c747d8105c71e5c9f8d3;hpb=1f775fdd864715abb622070a9b4dd38341d6da79;p=chaz%2Fopenbox diff --git a/openbox/focus.h b/openbox/focus.h index 976b50df..19e3b363 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -12,10 +12,6 @@ extern Window focus_backup; /*! The client which is currently focused */ extern struct Client *focus_client; -/* The number of FocusIn events which should be ignored for tracking the focus - order */ -extern int focus_ignore_in; - /*! The recent focus order on each desktop */ extern GList **focus_order; @@ -34,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