Commit afc77c82 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

platforms/x11: Set reasonable refresh rate for dummy output

A refresh rate of -1 may break compositing scheduling code that relies
on the refresh rate being valid.
parent e3e6b3de
......@@ -424,7 +424,7 @@ void X11StandalonePlatform::doUpdateOutputs()
auto fallback = [this]() {
auto *o = new X11Output(this);
o->setGammaRampSize(0);
o->setRefreshRate(-1.0f);
o->setRefreshRate(60000);
o->setName(QStringLiteral("Xinerama"));
m_outputs << o;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment