aboutsummaryrefslogtreecommitdiffstats
path: root/src/request.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/request.hpp')
-rw-r--r--src/request.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/request.hpp b/src/request.hpp
index ded2c02..6b2bda1 100644
--- a/src/request.hpp
+++ b/src/request.hpp
@@ -30,6 +30,13 @@ enum Task
TASK_INVALID
};
+enum TaskVisible
+{
+ VISIBLE,
+ INVISIBLE,
+ NO_CHANGE
+};
+
struct WMTrigger
{
std::string appid;
@@ -43,7 +50,7 @@ struct WMAction
std::string appid;
std::string role;
std::string area;
- bool visible;
+ TaskVisible visible;
bool end_draw_finished;
};