]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.h
add <dialog><focus/><desktop/> to allow disabling popups
[chaz/openbox] / openbox / action.h
index bfe0dc9a4277918ea711ac085779a6a7433fd108..3edc96b90f7bbf04ae5998c12c064a4264921096 100644 (file)
@@ -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;
@@ -91,7 +99,7 @@ struct SendToDesktopDirection {
 };
 
 struct Desktop {
-    struct AnyAction any;
+    struct InteractiveAction inter;
     guint desk;
 };
 
This page took 0.025364 seconds and 4 git commands to generate.