diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-07 03:46:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-07 03:46:41 +0000 |
| commit | db086ef336e01ee23c777f3dc6678568565d44ef (patch) | |
| tree | 2cc04723f59aff38de8065eb92d1bcab1d33b5f8 /openbox/focus.h | |
| parent | 1f775fdd864715abb622070a9b4dd38341d6da79 (diff) | |
put focus_cycle into focus.c, use it there in the action. improved it as well to handle odd cases like modal windows. added functions to client.c which are needed by the focus cycling routine.
Diffstat (limited to 'openbox/focus.h')
| -rw-r--r-- | openbox/focus.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
