X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle_popup.h;h=ad76491d52d68e99ce12e43d178cbd26d9ffee60;hb=965ed8907a5dd81d5ffbc93b67a672fa78833854;hp=695dfe53ebcae3c1013a43c47da4922706310c90;hpb=53066b1808701dc6c3497b2a4741ed6b82002c8f;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle_popup.h b/openbox/focus_cycle_popup.h index 695dfe53..ad76491d 100644 --- a/openbox/focus_cycle_popup.h +++ b/openbox/focus_cycle_popup.h @@ -24,12 +24,29 @@ struct _ObClient; #include +typedef enum { + OB_FOCUS_CYCLE_POPUP_MODE_NONE, + OB_FOCUS_CYCLE_POPUP_MODE_ICONS, + OB_FOCUS_CYCLE_POPUP_MODE_LIST +} ObFocusCyclePopupMode; + void focus_cycle_popup_startup(gboolean reconfig); void focus_cycle_popup_shutdown(gboolean reconfig); -void focus_cycle_popup_show(struct _ObClient *c, +void focus_cycle_popup_show(struct _ObClient *c, gboolean iconic_windows, gboolean all_desktops, gboolean dock_windows, - gboolean desktop_windows); -void focus_cycle_popup_hide(); + gboolean desktop_windows, + ObFocusCyclePopupMode mode); +void focus_cycle_popup_hide(void); + +void focus_cycle_popup_single_show(struct _ObClient *c, + gboolean iconic_windows, + gboolean all_desktops, + gboolean dock_windows, + 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); #endif