mirror of
https://github.com/hyprwm/Hyprland
synced 2026-01-06 14:50:11 +01:00
windowrules: fix matching against xdgTag (#12393)
This commit is contained in:
parent
e15409bbeb
commit
2c9c4d0905
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ bool CWindowRule::matches(PHLWINDOW w, bool allowEnvLookup) {
|
|||
return false;
|
||||
break;
|
||||
case RULE_PROP_XDG_TAG:
|
||||
if (w->xdgTag().has_value() && !engine->match(*w->xdgTag()))
|
||||
if (!w->xdgTag().has_value() || !engine->match(*w->xdgTag()))
|
||||
return false;
|
||||
break;
|
||||
case RULE_PROP_EXEC_TOKEN:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue