mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 00:45:58 +01:00
default hardcoded rule to preferred auto
This commit is contained in:
parent
662b6003c6
commit
9136783e9c
1 changed files with 1 additions and 1 deletions
|
@ -1244,7 +1244,7 @@ SMonitorRule CConfigManager::getMonitorRuleFor(std::string name) {
|
|||
|
||||
Debug::log(WARN, "No rules configured. Using the default hardcoded one.");
|
||||
|
||||
return SMonitorRule{.name = "", .resolution = Vector2D(1280, 720), .offset = Vector2D(0, 0), .scale = 1};
|
||||
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