Remove deactivate_main_surface API
[apps/agl-service-windowmanager.git] / src / request.hpp
index ab1ef95..6b2bda1 100644 (file)
@@ -26,7 +26,15 @@ namespace wm
 enum Task
 {
     TASK_ALLOCATE,
-    TASK_RELEASE
+    TASK_RELEASE,
+    TASK_INVALID
+};
+
+enum TaskVisible
+{
+    VISIBLE,
+    INVISIBLE,
+    NO_CHANGE
 };
 
 struct WMTrigger
@@ -42,7 +50,7 @@ struct WMAction
     std::string appid;
     std::string role;
     std::string area;
-    bool visible;
+    TaskVisible visible;
     bool end_draw_finished;
 };