diff --git a/plugins/platforms/x11/windowed/x11windowed_output.cpp b/plugins/platforms/x11/windowed/x11windowed_output.cpp index 46986a0dab..27e914d471 100644 --- a/plugins/platforms/x11/windowed/x11windowed_output.cpp +++ b/plugins/platforms/x11/windowed/x11windowed_output.cpp @@ -57,10 +57,9 @@ void X11WindowedOutput::init(const QPoint &logicalPosition, const QSize &pixelSi // Physicial size must be adjusted, such that QPA calculates correct sizes of // internal elements. - const QSize physicalSize = pixelSize / 96.0 * 25.4 / scale(); + const QSize physicalSize = pixelSize / 96.0 * 25.4 / m_backend->initialOutputScale(); AbstractWaylandOutput::initWaylandOutputDevice("model_TODO", "manufacturer_TODO", "UUID_TODO", physicalSize, { mode }); - setEnabled(true); setGeometry(logicalPosition, pixelSize); setScale(m_backend->initialOutputScale());