kwin/plugins/qpa
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
..
abstractplatformcontext.cpp Request a high-priority EGL contexts 2018-03-29 20:34:22 +09:00
abstractplatformcontext.h
backingstore.cpp Add high DPI support to internal KWin windows 2019-01-14 13:59:05 +00:00
backingstore.h Add high DPI support to internal KWin windows 2019-01-14 13:59:05 +00:00
CMakeLists.txt Bring FindFontconfig.cmake up to ECM standards 2018-12-18 18:11:11 +01:00
integration.cpp Remove unused private Qt include 2018-11-04 17:02:19 +01:00
integration.h
kwin.json
main.cpp
nativeinterface.cpp
nativeinterface.h
platformcontextwayland.cpp
platformcontextwayland.h
platformcursor.cpp
platformcursor.h
screen.cpp
screen.h
sharingplatformcontext.cpp [plugins/qpa] Add explanatory comment 2018-10-05 14:38:55 +01:00
sharingplatformcontext.h
window.cpp Add high DPI support to internal KWin windows 2019-01-14 13:59:05 +00:00
window.h Add high DPI support to internal KWin windows 2019-01-14 13:59:05 +00:00