mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 09:45:58 +01:00
fix oopsies in rule code
This commit is contained in:
parent
959557ecc3
commit
5101ddeff1
1 changed files with 1 additions and 6 deletions
|
@ -981,11 +981,6 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
|
||||||
} else {
|
} else {
|
||||||
Debug::log(LOG, "Set a custom mode %ix%i@%2f (mode not found in monitor modes)", (int)pMonitorRule->resolution.x, (int)pMonitorRule->resolution.y, (float)pMonitorRule->refreshRate);
|
Debug::log(LOG, "Set a custom mode %ix%i@%2f (mode not found in monitor modes)", (int)pMonitorRule->resolution.x, (int)pMonitorRule->resolution.y, (float)pMonitorRule->refreshRate);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
wlr_output_set_custom_mode(pMonitor->output, (int)pMonitorRule->resolution.x, (int)pMonitorRule->resolution.y, (int)pMonitorRule->refreshRate * 1000);
|
|
||||||
pMonitor->vecSize = pMonitorRule->resolution;
|
|
||||||
|
|
||||||
Debug::log(LOG, "Setting custom mode for %s", pMonitor->output->name);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (pMonitorRule->resolution != Vector2D()) {
|
} else if (pMonitorRule->resolution != Vector2D()) {
|
||||||
|
|
Loading…
Reference in a new issue