diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-09-22 18:22:04 +0200 |
---|---|---|
committer | Jake Petroules <jake.petroules@theqtcompany.com> | 2015-10-13 17:04:07 +0000 |
commit | 9553493c55ff35215601de794e396605ae39a0e4 (patch) | |
tree | 2d24aff392b44d4692fd869135404fdb8dc188e2 /tools/buildscripts/qtwebengine_utils.py | |
parent | 378c588ccb9659c1c5066ab0da7d956d3843751e (diff) | |
download | qtwebengine-9553493c55ff35215601de794e396605ae39a0e4.tar.gz |
make the render process DPI-aware
On Windows, system calls that retrieve screen properties (like
GetSystemMetrics to get the size of a scroll bar button) are dependent
on the DPI awareness setting of the calling process.
The render process must use the same DPI awareness setting as the
browser process. Retrieve the DPI awareness of the parent process in
the render process and set it accordingly.
Task-number: QTBUG-48380
Change-Id: Ic17d29d0f584e3cf230ac6ea2b08e3aa0d87ccdd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tools/buildscripts/qtwebengine_utils.py')
0 files changed, 0 insertions, 0 deletions