aboutsummaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:26 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:26 +0200
commit5c8b5588955450ab62ef1745bd4c823e7afc5e89 (patch)
tree822224d323b67253575aadaa1ded07317ea4cdf4 /src/layers.hpp
parent2b546956a800545bdda2be9682fac21fd1e86736 (diff)
layers: fix layers parsing, do not sort by prio
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/layers.hpp')
-rw-r--r--src/layers.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/layers.hpp b/src/layers.hpp
index 924457f..0601614 100644
--- a/src/layers.hpp
+++ b/src/layers.hpp
@@ -18,6 +18,8 @@
#define TMCAGLWM_LAYERS_H
#include <json.hpp>
+
+#include <regex>
#include <set>
#include <string>
@@ -30,7 +32,7 @@ struct split_layout {
std::string name;
std::string main_match;
std::string sub_match;
- int prio;
+ int prio; // no entirely sure we will use this
};
struct layer {