X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=blobdiff_plain;f=openbox%2Ffocus_cycle_popup.h;h=b085f9a94e1ba3e13072c2d18552ab7e103e14cc;hp=ad76491d52d68e99ce12e43d178cbd26d9ffee60;hb=567fd15eebdd44e50cef140419dbf7a336708109;hpb=3e9dbc01430193035e3d1f5832c019c3f9623db8 diff --git a/openbox/focus_cycle_popup.h b/openbox/focus_cycle_popup.h index ad76491d..b085f9a9 100644 --- a/openbox/focus_cycle_popup.h +++ b/openbox/focus_cycle_popup.h @@ -46,7 +46,13 @@ void focus_cycle_popup_single_show(struct _ObClient *c, gboolean desktop_windows); void focus_cycle_popup_single_hide(void); -/*! Returns TRUE if the popup is showing the client, otherwise FALSE. */ -gboolean focus_cycle_popup_is_showing(struct _ObClient *client); +gboolean focus_cycle_popup_is_showing(struct _ObClient *c); + +/*! Redraws the focus cycle popup, and returns the current target. If + the target given to the function is no longer valid, this will return + a different target that is valid, and which should be considered the + current focus cycling target. */ +struct _ObClient *focus_cycle_popup_refresh(struct _ObClient *target, + gboolean redraw); #endif