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