X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=a5b1708e412b459478770f0e4db8e6a58fc10721;hb=5cf61ee02354c1c9f80c11f3796afc4b948055d6;hp=a8f37e1574c5f20a0397503c1f1b9835321feba0;hpb=b6b514c47764517ef6845ddced6530538ce8d33b;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index a8f37e15..a5b1708e 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -26,6 +26,12 @@ struct MoveResizeRelative { int delta; }; +struct SendToDesktop { + Client *c; + guint desk; + gboolean follow; +}; + struct SendToNextPreviousDesktop { Client *c; gboolean wrap; @@ -59,7 +65,15 @@ struct Resize { struct ShowMenu { Client *c; - char * menuName; + char *menuName; +}; + +struct CycleWindows { + Client *c; + gboolean linear; + gboolean forward; + gboolean final; + gboolean cancel; }; union ActionData { @@ -67,12 +81,14 @@ union ActionData { struct Execute execute; struct ClientAction client; struct MoveResizeRelative relative; + struct SendToDesktop sendto; struct SendToNextPreviousDesktop sendtonextprev; struct Desktop desktop; struct NextPreviousDesktop nextprevdesktop; struct Move move; struct Resize resize; struct ShowMenu showMenu; + struct CycleWindows cycle; }; typedef struct { @@ -155,7 +171,7 @@ void action_maximize_vert(union ActionData *data); void action_unmaximize_vert(union ActionData *data); /* ClientAction */ void action_toggle_maximize_vert(union ActionData *data); -/* Desktop */ +/* SendToDesktop */ void action_send_to_desktop(union ActionData *data); /* SendToNextPreviousDesktop */ void action_send_to_next_desktop(union ActionData *data); @@ -187,4 +203,6 @@ void action_restart(union ActionData *data); void action_exit(union ActionData *data); /* ShowMenu */ void action_showmenu(union ActionData *data); +/* CycleWindows */ +void action_cycle_windows(union ActionData *data); #endif