X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=64bb99deeabe3a7469d1cc8adb908fce5d394f5e;hb=507e7ac875d40913933f4e32192cdd62b60a0c8a;hp=95d152829ed0ced663183997ede3e5bc3ee8bf8f;hpb=e7ae71db7008c2418090608e9860da024f1c1464;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index 95d15282..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,6 +141,8 @@ 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 +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);