diff --git a/plugins/platforms/virtual/virtual_output.cpp b/plugins/platforms/virtual/virtual_output.cpp index f798ea9e84..05ba336604 100644 --- a/plugins/platforms/virtual/virtual_output.cpp +++ b/plugins/platforms/virtual/virtual_output.cpp @@ -42,6 +42,7 @@ QSize VirtualOutput::pixelSize() const void VirtualOutput::setGeometry(const QRect &geo) { m_pixelSize = geo.size(); + setRawPhysicalSize(m_pixelSize); setGlobalPos(geo.topLeft()); }