X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Ffocus.h;h=6a86965a69e762a29970d0ed935a97d4f877a424;hb=fc32577766755a84ac883b4d862fab3c5e681642;hp=976b50dfdf73a7ebf8e9c747d8105c71e5c9f8d3;hpb=d6f9bc953ac7cd29f69563c96b6c8991fed8f6d8;p=chaz%2Fopenbox diff --git a/openbox/focus.h b/openbox/focus.h index 976b50df..6a86965a 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -12,16 +12,12 @@ 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; /*! Should new windows be focused */ extern gboolean focus_new; -/*! Should focus follow the mouse pointer */ +/*! Focus windows when the mouse enters them */ extern gboolean focus_follow; void focus_startup(); @@ -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