D22737: xcb: Fix setStrut() for High-DPI scaling
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu Jul 25 13:45:47 BST 2019
apol added inline comments.
INLINE COMMENTS
> kwindowsystem.cpp:75
> + const qreal dpr = screen->devicePixelRatio();
> + region += QRect(geometry.topLeft() * dpr, geometry.size() * dpr);
> }
I don't think that it makes sense to multiply topLeft by dpr, since dpr is local to the screen you're treating.
How have you tested this?
REPOSITORY
R278 KWindowSystem
REVISION DETAIL
https://phabricator.kde.org/D22737
To: volkov, #frameworks
Cc: apol, kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190725/ccd62a8c/attachment.html>
More information about the Kde-frameworks-devel
mailing list