desktop/layerRuleApplicator: fix an epic c+p fail
ref https://github.com/hyprwm/Hyprland/discussions/12779
This commit is contained in:
parent
ec4beb1b39
commit
b9bd9d147f
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ void CLayerRuleApplicator::applyDynamicRule(const SP<CLayerRule>& rule) {
|
||||||
}
|
}
|
||||||
case LAYER_RULE_EFFECT_ORDER: {
|
case LAYER_RULE_EFFECT_ORDER: {
|
||||||
try {
|
try {
|
||||||
m_noScreenShare.first.set(std::stoi(effect), Types::PRIORITY_WINDOW_RULE);
|
m_order.first.set(std::stoi(effect), Types::PRIORITY_WINDOW_RULE);
|
||||||
m_noScreenShare.second |= rule->getPropertiesMask();
|
m_order.second |= rule->getPropertiesMask();
|
||||||
} catch (...) { Log::logger->log(Log::ERR, "CLayerRuleApplicator::applyDynamicRule: invalid order {}", effect); }
|
} catch (...) { Log::logger->log(Log::ERR, "CLayerRuleApplicator::applyDynamicRule: invalid order {}", effect); }
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue