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.
icc-effect-5.17.5
Roman Gilg 2019-06-14 12:10:07 +02:00
parent 6df7b2e863
commit 6ac1585e12
1 changed files with 3 additions and 0 deletions

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()