X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus_cycle.h;h=ab477d65bb80f34520fa960c7e5531351787fa75;hb=d179d6428ae585a3b8a13479bfe4586e41de2ff9;hp=c074a52baa230dee11e9083878e63580cc6a0a03;hpb=12653a4153bccd5d9a46998753e7a1bc17479505;p=chaz%2Fopenbox diff --git a/openbox/focus_cycle.h b/openbox/focus_cycle.h index c074a52b..ab477d65 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 @@ -37,7 +38,7 @@ void focus_cycle_shutdown(gboolean reconfig); struct _ObClient* focus_cycle(gboolean forward, gboolean all_desktops, gboolean dock_windows, gboolean desktop_windows, gboolean linear, gboolean interactive, - gboolean showbar, gboolean dialog, + gboolean showbar, ObFocusCyclePopupMode mode, gboolean done, gboolean cancel); struct _ObClient* focus_directional_cycle(ObDirection dir, gboolean dock_windows, @@ -47,8 +48,10 @@ struct _ObClient* focus_directional_cycle(ObDirection dir, gboolean dialog, gboolean done, gboolean cancel); -void focus_cycle_add(struct _ObClient *ifclient); -void focus_cycle_remove(struct _ObClient *ifclient); +/*! 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