X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.h;h=1366cd08869e0971ae1c22c4abbcdc7d7b15dd29;hb=48f237203b8766e7d13af3f6e2d5deecc14b6651;hp=200d96a57043c3bd2aca6355d7d0a3d81040923a;hpb=a9175a8a324deb6d1b7e717fb77fbc96204c7540;p=chaz%2Fopenbox diff --git a/openbox/focus.h b/openbox/focus.h index 200d96a5..1366cd08 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); @@ -58,10 +58,9 @@ void focus_fallback(gboolean allow_refocus); /*! Cycle focus amongst windows. */ void focus_cycle(gboolean forward, gboolean linear, gboolean interactive, - gboolean dialog, gboolean done, gboolean cancel, Time time); + gboolean dialog, gboolean done, gboolean cancel); void focus_directional_cycle(ObDirection dir, gboolean interactive, - gboolean dialog, gboolean done, gboolean cancel, - Time time); + gboolean dialog, gboolean done, gboolean cancel); void focus_cycle_draw_indicator(); /*! Add a new client into the focus order */ @@ -77,4 +76,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