X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=17e35766a640d336f2d5b44abe2f1674a5f1aba1;hb=51fdd13fd1a445d5fa3c2d7aab356e7caaf2f902;hp=7c48f37b30bb6adeb4e95a16396384aeaf56eaaf;hpb=a019ee1028c396f7d5ec107d100b43222c945b59;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index 7c48f37b..17e35766 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -115,7 +115,7 @@ struct SendToDesktopDirection { }; struct Desktop { - struct InteractiveAction inter; + struct AnyAction inter; guint desk; }; @@ -142,6 +142,11 @@ struct ShowMenu { gchar *name; }; +struct AddRemoveDesktop { + struct AnyAction any; + gboolean current; +}; + struct CycleWindows { struct InteractiveAction inter; gboolean linear; @@ -175,6 +180,7 @@ union ActionData { struct CycleWindows cycle; struct Layer layer; struct Stacking stacking; + struct AddRemoveDesktop addremovedesktop; }; struct _ObAction { @@ -356,5 +362,9 @@ void action_show_desktop(union ActionData *data); void action_unshow_desktop(union ActionData *data); /* Any */ void action_break_chroot(union ActionData *data); +/* AddRemoveDesktop */ +void action_add_desktop(union ActionData *data); +/* AddRemoveDesktop */ +void action_remove_desktop(union ActionData *data); #endif