kwin/plugins
David Edmundson 2df9d22a08 Add high DPI support to internal KWin windows
Summary:
So far we didn't try to do high DPI on kwin internal windows, such as
the user context menu and tab bars and whatever.

Due to wayland scaling they were the correct phyiscal size but upscaled.
This patch fixes our QPA to enable Qt's high-dpi support.

BUG: 402853

Note icons are still low res. This is because the global
QGuiApplication::devicePixelRatio which is the max of all connected
screens is static for the duration of the app. QIcon uses this when
determining the DPR to use. This will require a Qt change.

Test Plan:
Ran at 2x on my normal DPI screen (as that's easier to see anything)
* User action menu is high DPI
* Window deco tooltips are still fine
* Tab switcher is high DPI
* Overlay in present windows Desktop grid are still ok

Reviewers: #kwin

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18042
2019-01-14 13:59:05 +00:00
..
idletime Build KF5IdleTimeKWinWaylandPrivatePlugin in correct directory 2018-11-09 17:39:29 +01:00
kdecorations SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
kglobalaccel [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
platforms [platform/virtual] Drop support for vgem and rendernode 2019-01-12 07:37:25 +01:00
qpa Add high DPI support to internal KWin windows 2019-01-14 13:59:05 +00:00
scenes SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-06 05:42:41 +01:00
CMakeLists.txt Move SceneXRender into a plugin 2017-09-01 17:42:28 +02:00