diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-06-19 18:02:48 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-06-19 18:02:48 +0200 |
commit | 121692e5408561f486cad5cd170ac8bcd2557eb2 (patch) | |
tree | 3b3f2822e2cb7eff0095366f62a04270f24fb16a /src/widgets/kernel/qwidget_p.h | |
parent | 29670528d880d81cdd9eb55221b439a832437a6a (diff) |
Use Xft DPI as basis for HiDPI scaling
GNOME indicates DPI modes by setting high DPI values in Xft.DPI, so
we need to use the forced DPI setting instead of the real DPI, as basis
for QPA pixel density.
Change-Id: I6f25636383b16b89a3d5fe4c904afd079fe001aa
Fixes: QTBUG-74836
Task-number: QTBUG-65424
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
0 files changed, 0 insertions, 0 deletions