summaryrefslogtreecommitdiff
path: root/openbox/action.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-24 18:20:49 +0000
committerDana Jansens <danakj@orodu.net>2003-09-24 18:20:49 +0000
commit1213b079bb0d32dcb97c37b2b0f6fcb0c8b6eefc (patch)
tree0a94df465442b5eb2e1cc5ee22f7e73b9847cae0 /openbox/action.h
parent84dfd803d0afd6954d3550e7655a61c41e4845d5 (diff)
add the ObClientActionReq to ObAction which says if an action needs a client for it or not
Diffstat (limited to 'openbox/action.h')
-rw-r--r--openbox/action.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbox/action.h b/openbox/action.h
index bfe0dc9a..99983ee1 100644
--- a/openbox/action.h
+++ b/openbox/action.h
@@ -32,7 +32,15 @@ typedef struct _ObAction ObAction;
available (possibly NULL though) if it wants it.
*/
+typedef enum
+{
+ OB_CLIENT_ACTION_NO,
+ OB_CLIENT_ACTION_OPTIONAL,
+ OB_CLIENT_ACTION_ALWAYS
+} ObClientActionReq;
+
struct AnyAction {
+ ObClientActionReq client_action;
struct _ObClient *c;
ObFrameContext context;
gboolean interactive;