Fix xdg-output creation

In 1a11abc821 some function calls in the createXdgOutput function were
accidentally removed resulting in possibility of broken setup on startup.

Add these calls back again.
This commit is contained in:
Roman Gilg 2019-06-14 12:10:07 +02:00
parent 6df7b2e863
commit 6ac1585e12

View file

@ -171,6 +171,9 @@ void AbstractWaylandOutput::createXdgOutput()
return;
}
m_xdgOutput = waylandServer()->xdgOutputManager()->createXdgOutput(m_waylandOutput, m_waylandOutput);
m_xdgOutput->setLogicalSize(pixelSize() / scale());
m_xdgOutput->setLogicalPosition(m_globalPos);
m_xdgOutput->done();
}
void AbstractWaylandOutput::initWaylandOutput()