mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 16:18:03 +02:00
fix
This commit is contained in:
parent
96538ea65f
commit
9df5145a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -2879,7 +2879,7 @@ std::optional<std::string> CConfigManager::handleLayerrule(const std::string& co
|
|||
|
||||
const bool FIRST_IS_PROP = el.starts_with("match:");
|
||||
const auto FIRST = FIRST_IS_PROP ? el.substr(6, spacePos - 6) : el.substr(0, spacePos);
|
||||
if (FIRST_IS_PROP && std::ranges::contains(PROPS, std::string{"match:"} + FIRST)) {
|
||||
if (FIRST_IS_PROP && std::ranges::contains(PROPS, FIRST)) {
|
||||
// it's a prop
|
||||
const auto PROP = Desktop::Rule::matchPropFromString(FIRST);
|
||||
if (!PROP.has_value())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue