use auto scale in fallback rule

This commit is contained in:
vaxerski 2022-12-14 18:00:04 +00:00
parent a2ecca936e
commit 5a138bed6b
1 changed files with 1 additions and 1 deletions

View File

@ -1438,7 +1438,7 @@ SMonitorRule CConfigManager::getMonitorRuleFor(std::string name, std::string dis
Debug::log(WARN, "No rules configured. Using the default hardcoded one.");
return SMonitorRule{.name = "", .resolution = Vector2D(0, 0), .offset = Vector2D(-1, -1), .scale = 1}; // 0, 0 is preferred and -1, -1 is auto
return SMonitorRule{.name = "", .resolution = Vector2D(0, 0), .offset = Vector2D(-1, -1), .scale = -1}; // 0, 0 is preferred and -1, -1 is auto
}
std::vector<SWindowRule> CConfigManager::getMatchingRules(CWindow* pWindow) {