D29569: Fix computing display geometry on multi-monitor HiDPI setups on X11
Victor Dodon
noreply at phabricator.kde.org
Sat May 9 17:54:16 BST 2020
printesoi created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
printesoi requested review of this revision.
REVISION SUMMARY
KWindowSystem::workArea() and KWindowSystem::workArea(QList<WId>()) should return the same value, but the second call returned an incorrect value on multi-monitor HiDPI setups. The cause is that the former uses NETRootInfo::workArea() whereas the second one uses displayGeometr() to compuse base work area. displayGeometry() on X11 platform did not take into account the device pixel ratio.
REPOSITORY
R278 KWindowSystem
REVISION DETAIL
https://phabricator.kde.org/D29569
AFFECTED FILES
src/platforms/xcb/kwindowsystem.cpp
To: printesoi
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200509/d08d74a5/attachment-0001.htm>
More information about the Kde-frameworks-devel
mailing list