X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=64bb99deeabe3a7469d1cc8adb908fce5d394f5e;hb=7120face258ee4bd71fb19ded271665acde6465c;hp=ef2f755efb7d9137dcb47bc1355c7c13aa249ea8;hpb=99d0b716776492c1927b8248375ce82a33bc7b26;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index ef2f755e..64bb99de 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; @@ -96,6 +101,7 @@ union ActionData { struct DirectionalAction diraction; struct Execute execute; struct ClientAction client; + struct Activate activate; struct MoveResizeRelative relative; struct SendToDesktop sendto; struct SendToDesktopDirection sendtodir; @@ -135,7 +141,7 @@ void action_free(ObAction *a); /* Execute */ void action_execute(union ActionData *data); -/* ClientAction */ +/* ActivateAction */ void action_activate(union ActionData *data); /* ClientAction */ void action_focus(union ActionData *data); @@ -144,6 +150,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);