aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp
index 57eaf81..4c3870f 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -21,6 +21,7 @@
#include <thread>
#include <string>
#include <vector>
+#include <unordered_map>
#include <sys/poll.h>
#include <string.h>
@@ -122,4 +123,14 @@ class rectangle
long _bottom;
};
+typedef struct ChangeAreaReq {
+ std::string appname;
+ std::unordered_map<std::string, struct rect> area_req;
+ bool save;
+ std::unordered_map<std::string, std::string> update_app2area;
+ ChangeAreaReq() = default;
+ ~ChangeAreaReq() = default;
+ ChangeAreaReq(const ChangeAreaReq& val) = default;
+ void dump();
+} ChangeAreaReq;
#endif // !WM_UTIL_HPP