mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 11:25:58 +01:00
sanitize scale better
This commit is contained in:
parent
5112056fdb
commit
3436486575
1 changed files with 1 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
|
|||
return true;
|
||||
}
|
||||
|
||||
if (pMonitorRule->scale != -1) {
|
||||
if (pMonitorRule->scale > 0.1) {
|
||||
wlr_output_set_scale(pMonitor->output, pMonitorRule->scale);
|
||||
pMonitor->scale = pMonitorRule->scale;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue