mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-02 13:11:55 -07:00
monitors: guard scale in onConnect
This commit is contained in:
@@ -131,6 +131,8 @@ void CMonitor::onConnect(bool noRule) {
|
||||
setupDefaultWS(monitorRule);
|
||||
|
||||
scale = monitorRule.scale;
|
||||
if (scale < 0.1)
|
||||
scale = getDefaultScale();
|
||||
|
||||
m_pThisWrap = nullptr;
|
||||
|
||||
|
Reference in New Issue
Block a user