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.
This commit is contained in:
parent
e3e6b3de2d
commit
afc77c82f3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue