X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=openbox%2Faction.h;h=bacd4b5cba6baee57757266f6113fb4448e6b10a;hb=8a1e9c64d86b0a21db9edfe6b6a7221f07c1e5f5;hp=95d152829ed0ced663183997ede3e5bc3ee8bf8f;hpb=e7ae71db7008c2418090608e9860da024f1c1464;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index 95d15282..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);