X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=bacd4b5cba6baee57757266f6113fb4448e6b10a;hb=dcdc325f5c8c946df696d17a6da329aeac149586;hp=3ac3ee6761c96b15993a1931d462cacb80051441;hpb=c90da6da781932c2d178bfb7e39ec1d5003543b7;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index 3ac3ee67..bacd4b5c 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -29,6 +29,11 @@ struct ClientAction { struct _ObClient *c; }; +struct Activate { + struct _ObClient *c; + gboolean here; /* bring it to the current desktop */ +}; + struct MoveResizeRelative { struct _ObClient *c; int delta; @@ -47,6 +52,7 @@ struct SendToDesktopDirection { gboolean linear; gboolean final; gboolean cancel; + gboolean follow; }; struct Desktop { @@ -96,6 +102,7 @@ union ActionData { struct DirectionalAction diraction; struct Execute execute; struct ClientAction client; + struct Activate activate; struct MoveResizeRelative relative; struct SendToDesktop sendto; struct SendToDesktopDirection sendtodir; @@ -130,11 +137,13 @@ ObAction *action_new(void (*func)(union ActionData *data)); */ ObAction *action_from_string(char *name); -ObAction *action_parse(xmlDocPtr doc, xmlNodePtr node); +ObAction *action_parse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node); void action_free(ObAction *a); /* Execute */ void action_execute(union ActionData *data); +/* ActivateAction */ +void action_activate(union ActionData *data); /* ClientAction */ void action_focus(union ActionData *data); /* ClientAction */ @@ -142,6 +151,8 @@ void action_unfocus(union ActionData *data); /* ClientAction */ void action_iconify(union ActionData *data); /* ClientAction */ +void action_raiselower(union ActionData *data); +/* ClientAction */ void action_raise(union ActionData *data); /* ClientAction */ void action_lower(union ActionData *data); @@ -211,6 +222,8 @@ void action_cycle_windows(union ActionData *data); void action_directional_focus(union ActionData *data); /* DirectionalAction */ void action_movetoedge(union ActionData *data); +/* DirectionalAction */ +void action_growtoedge(union ActionData *data); /* Layer */ void action_send_to_layer(union ActionData *data); /* Layer */