mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 10:05:59 +01:00
use auto scale in fallback rule
This commit is contained in:
parent
a2ecca936e
commit
5a138bed6b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue