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

backends/kwayland: Use output name to guess output type

Model doesn't include the connector type.
parent b7c79872
Pipeline #129908 passed with stage
in 3 minutes and 7 seconds
......@@ -182,7 +182,7 @@ void WaylandOutputDevice::updateKScreenOutput(OutputPtr &output)
QSize currentSize = m_mode->size();
output->setSize(output->isHorizontal() ? currentSize : currentSize.transposed());
output->setType(Utils::guessOutputType(m_model, m_model));
output->setType(Utils::guessOutputType(m_outputName, m_outputName));
Supports Markdown
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