Commit 95cb47ca authored by Roman Gilg's avatar Roman Gilg
Browse files

[platforms/virtual] Set raw physical size of outputs

Summary: At least one test requires the physical size to be set.

Test Plan:
Lock screen screen edges test is passing again. Without the change the corner
offset in the ScreenEdges class is not calculated correctly via the
physicalDpiX() and physicalDpiY() values of an auxilliary QWidget.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision:
parent 9cf2730f
......@@ -42,6 +42,7 @@ QSize VirtualOutput::pixelSize() const
void VirtualOutput::setGeometry(const QRect &geo)
m_pixelSize = geo.size();
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