X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle.h;h=c31abc81f47abe8165030342703c28e95604e2d2;hb=c70379fa8f771e499a4d47e84af06d71838b780d;hp=38c0e8371c95e2e8d8884ebf6cd493ecca59efe6;hpb=2253b5e341e2a20dee5c0c17eae3f5a8baa1b6ac;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle.h b/openbox/focus_cycle.h index 38c0e837..c31abc81 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,20 +35,19 @@ 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 iconic_windows, - gboolean all_desktops, - gboolean dock_windows, - gboolean desktop_windows); +struct _ObClient* focus_cycle(gboolean forward, gboolean all_desktops, + 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); + +void focus_cycle_stop(struct _ObClient *ifclient); #endif