diff options
author | Pablo Marcos Oltra <pablo.marcos.oltra@gmail.com> | 2018-02-21 19:44:34 +0100 |
---|---|---|
committer | Pablo Marcos Oltra <pablo.marcos.oltra@gmail.com> | 2018-02-22 10:28:08 +0000 |
commit | 17b73b0d2b8e0d643bdf13b543cc23d657a4b330 (patch) | |
tree | 45cb9c0ee778150208b496b5e031db98bc627b2f /mkspecs/win32-msvc | |
parent | 8ef9a0ae8968036e92f47e9e7c0e271f9fecaceb (diff) |
Cocoa: fix grabWindow when mixing highDPI and non-highDPI screens
CGDisplayCreateImageForRect seems to have a weird behavior when mixing
highDPI and non-highDPI screens since it may take part of the
non-highDPI screen when the highDPI display is at the left or at the
top of the main monitor.
To workaround this issue, we capture the whole screen and then crop the
image to the desired size.
Task-number: QTBUG-47643
Change-Id: Ib2a3850a0a549964c7fe272abb563bd23518c234
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'mkspecs/win32-msvc')
0 files changed, 0 insertions, 0 deletions