diff options
| author | Ilya Fedin <fedin-ilja2010@ya.ru> | 2024-01-09 02:51:05 +0400 |
|---|---|---|
| committer | Ilya Fedin <fedin-ilja2010@ya.ru> | 2024-05-16 21:40:03 +0400 |
| commit | 7dbf070dd1a15ea99b3d5d2e528c9d4c75eafff6 (patch) | |
| tree | a19828edbdacae0fa38424db2036c5b967021aae /src/widgets/kernel/qwidget.cpp | |
| parent | b8bcf6b8834234ac39bf30c0d6c2cd5e40d0cc4e (diff) | |
Make the high dpi downscaling work with Wayland
Wayland provides fractional device pixel ratio without using QHighDpiScaling
so it should work when QHighDpiScaling::isActive returns false.
There are also invalidation adjustments given that high dpi backing
store's device pixel ratio could lead to different native sizes
depending on platform's device pixel ratio.
Fixes: QTBUG-115462
Change-Id: Ib799272cd0108af6a5886496874349ff04352333
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
0 files changed, 0 insertions, 0 deletions
