]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.h
add an obscured flag that tracks if the frame is at all obscured
[chaz/openbox] / openbox / action.h
index 95d152829ed0ced663183997ede3e5bc3ee8bf8f..f84217e31dfb2d498d25146377cebc7e6e05eda8 100644 (file)
@@ -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 */
This page took 0.02296 seconds and 4 git commands to generate.