windowrules: precompute regexes for window/layer rules
This commit is contained in:
parent
8e8073c421
commit
57921d7dbd
5 changed files with 49 additions and 14 deletions
|
|
@ -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>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue