X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle.h;h=9394b3df8bb65ba187b4f1e37329a942d65900b5;hb=95ed8437020ca3070d7cafcdfef78f8b3985fb5f;hp=4d1e265fe928f6c8dce6fd21cc10f58086b4187c;hpb=83eb9220122d98ac72d1b6aa636d1da52d3832e2;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle.h b/openbox/focus_cycle.h index 4d1e265f..9394b3df 100644 --- a/openbox/focus_cycle.h +++ b/openbox/focus_cycle.h @@ -21,6 +21,7 @@ #define __focus_cycle_h #include "misc.h" +#include "focus_cycle_popup.h" #include #include @@ -34,19 +35,24 @@ void focus_cycle_startup(gboolean reconfig); void focus_cycle_shutdown(gboolean reconfig); /*! Cycle focus amongst windows. */ -void focus_cycle(gboolean forward, gboolean all_desktops, - gboolean dock_windows, gboolean desktop_windows, - gboolean linear, gboolean interactive, - gboolean dialog, gboolean done, gboolean cancel); -void focus_directional_cycle(ObDirection dir, gboolean dock_windows, - gboolean desktop_windows, gboolean interactive, - gboolean dialog, gboolean done, gboolean cancel); - -void focus_cycle_stop(); - -gboolean focus_cycle_target_valid(struct _ObClient *ft, - gboolean all_desktops, - gboolean dock_windows, - gboolean desktop_windows); +struct _ObClient* focus_cycle(gboolean forward, gboolean all_desktops, + gboolean nonhilite_windows, + gboolean dock_windows, gboolean desktop_windows, + gboolean linear, gboolean interactive, + gboolean showbar, ObFocusCyclePopupMode mode, + gboolean done, gboolean cancel); +struct _ObClient* focus_directional_cycle(ObDirection dir, + gboolean dock_windows, + gboolean desktop_windows, + gboolean interactive, + gboolean showbar, + gboolean dialog, + gboolean done, gboolean cancel); + +/*! Set @redraw to FALSE if there are more clients to be added/removed first */ +void focus_cycle_addremove(struct _ObClient *ifclient, gboolean redraw); +void focus_cycle_reorder(); + +gboolean focus_cycle_valid(struct _ObClient *client); #endif