Review Request 124648: Handle clients having a different device pixel ratio
Aleix Pol Gonzalez
aleixpol at kde.org
Fri Aug 7 14:13:19 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124648/#review83533
-----------------------------------------------------------
src/kwindowsystem.cpp (line 34)
<https://git.reviewboard.kde.org/r/124648/#comment57778>
Make static, at least it won't expose this to the linker.
Some documentation wouldn't hurt.
I'm unsure how good it is though, I would expect to be getting proper coordinates already. Will this break on wayland maybe?
- Aleix Pol Gonzalez
On Aug. 6, 2015, 5:42 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124648/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2015, 5:42 p.m.)
>
>
> Review request for KDE Frameworks and Plasma.
>
>
> Repository: kwindowsystem
>
>
> Description
> -------
>
> Qt scales down the size of QScreens by the device pixel ratio; we should
> make our windowing APIs match.
>
> X (and KWin) deal with device dependent pixels, so everything needs to
> be converted when communitcating geometry.
>
> Abstraction happens in the main kwindowsystem so X and Wayland are both
> supported.
>
> BUG: 350865
> BUG: 350614
> BUG: 347951
>
>
> Diffs
> -----
>
> src/kwindowsystem.cpp 0f8ec0ef470b3a3dcd353a1052dc80ed2bb3f992
>
> Diff: https://git.reviewboard.kde.org/r/124648/diff/
>
>
> Testing
> -------
>
> Ran yakuake, it looks all right again.
> Re-enabled system DPR support in plasmashell (which is currently disabled) and tested notifications and panel struts are all sensible.
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150807/638041a6/attachment.html>
More information about the Plasma-devel
mailing list