D15183: [platforms/virtual] Set raw physical size of outputs

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg added inline comments.

INLINE COMMENTS

> davidedmundson wrote in virtual_output.cpp:45
> This is in mm.
> 
> Which gives this virtual screen a DPI of 25.4, it still works but it's a bit unrealistic.
> 
> Might be better to just set an arbitrary sensible QRect.

For the tests it does not make a difference, but yea kind of unrealistic. I will push this here as a quick fix, but we should in the future expand this class in general for better tests of (auto-)scaling. With the new structure this should then translate directly to the DRM backend.

REPOSITORY
  R108 KWin

BRANCH
  virtOutSetPhysSize

REVISION DETAIL
  https://phabricator.kde.org/D15183

To: romangg, #kwin, davidedmundson
Cc: davidedmundson, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.