From c80b496bf407d73bea169058abfcda44effad0dd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 14 Mar 2007 21:07:30 +0000 Subject: 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. --- openbox/focus.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/focus.h') 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 -- cgit v1.2.3