diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-14 21:07:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-14 21:07:30 +0000 |
| commit | c80b496bf407d73bea169058abfcda44effad0dd (patch) | |
| tree | fca8985046322baf23147257a0b325bfa30e1d34 /openbox/focus.h | |
| parent | 496c769fcec42dc3092a9f128d270ff1a4f2e64b (diff) | |
make focus_order into one long list instead of having one per desktop. this actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think.
also this is not tested. sorry if it breaks everything.
Diffstat (limited to 'openbox/focus.h')
| -rw-r--r-- | openbox/focus.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/focus.h b/openbox/focus.h index 200d96a5..e1d6a6c4 100644 --- a/openbox/focus.h +++ b/openbox/focus.h @@ -41,7 +41,7 @@ extern struct _ObClient *focus_hilite; extern struct _ObClient *focus_cycle_target; /*! The recent focus order on each desktop */ -extern GList **focus_order; +extern GList *focus_order; void focus_startup(gboolean reconfig); void focus_shutdown(gboolean reconfig); @@ -77,4 +77,6 @@ void focus_order_to_top(struct _ObClient *c); very bottom always though). */ void focus_order_to_bottom(struct _ObClient *c); +struct _ObClient *focus_order_find_first(guint desktop); + #endif |
