summaryrefslogtreecommitdiff
path: root/src/desktop/WindowRule.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-12-21 19:21:45 +0000
committerVaxry <vaxry@vaxry.net>2024-12-21 19:21:50 +0000
commit57921d7dbd1b87a9474f609cb9cd30e6174027cd (patch)
treef25c16ad3e24449ca2b7b94e82313f08fb116082 /src/desktop/WindowRule.cpp
parent8e8073c42172feaf5600879f475322ab7363f017 (diff)
windowrules: precompute regexes for window/layer rules
Diffstat (limited to 'src/desktop/WindowRule.cpp')
-rw-r--r--src/desktop/WindowRule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop/WindowRule.cpp b/src/desktop/WindowRule.cpp
index 4f2d949e..7db6c3db 100644
--- a/src/desktop/WindowRule.cpp
+++ b/src/desktop/WindowRule.cpp
@@ -1,6 +1,7 @@
#include "WindowRule.hpp"
#include <unordered_set>
#include <algorithm>
+#include <re2/re2.h>
#include "../config/ConfigManager.hpp"
static const auto RULES = std::unordered_set<std::string>{