X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=f84217e31dfb2d498d25146377cebc7e6e05eda8;hb=60bf9dcdb752aa282e1ffd7bbb359df4a4c78e77;hp=ef2f755efb7d9137dcb47bc1355c7c13aa249ea8;hpb=99d0b716776492c1927b8248375ce82a33bc7b26;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index ef2f755e..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,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);