mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: use regex match layer name in layer rule
This commit is contained in:
parent
33b84c1fd8
commit
5a7d99668f
1 changed files with 2 additions and 2 deletions
|
|
@ -2044,8 +2044,8 @@ void maplayersurfacenotify(struct wl_listener *listener, void *data) {
|
|||
for (ji = 0; ji < config.layer_rules_count; ji++) {
|
||||
if (config.layer_rules_count < 1)
|
||||
break;
|
||||
if (strcmp(config.layer_rules[ji].layer_name,
|
||||
l->layer_surface->namespace) == 0) {
|
||||
if (regex_match(config.layer_rules[ji].layer_name,
|
||||
l->layer_surface->namespace)) {
|
||||
|
||||
r = &config.layer_rules[ji];
|
||||
APPLY_INT_PROP(l, r, noblur);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue