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

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson accepted this revision.
davidedmundson added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> virtual_output.cpp:45
>      m_pixelSize = geo.size();
> +    setRawPhysicalSize(m_pixelSize);
>      setGlobalPos(geo.topLeft());

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.

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.