path: root/src/plugins/platforms
diff options
authorMorten Johan Sørvig <>2019-01-30 13:55:15 +0100
committerMorten Johan Sørvig <>2019-05-13 13:52:32 +0000
commit3af7b279177f7fb092f0e0fb9ffc8e8d846ed774 (patch)
tree576d1a52da95a0c8b2a805758da178a760ab5dfb /src/plugins/platforms
parent3da9d8a4fefc6f4e06320d2ba4c7c5fa8ebd1a10 (diff)
Fix QWindow::mapToGlobal()/mapFromGlobal() for multi-screen windows
Make these functions handle the case where a window spans multiple screens, and high-DPI scaling is enabled, and the local position (in the window) is not on the window primary screen (as returned by QWindow::screen()). This is done by detecting the case, and then calculating the correct position using the native coordinate system. [ChangeLog][QtGui] QWindow::mapToGlobal()/mapFromGlobal() now handle windows spanning screens correctly. Done-with: Friedemann Kleint<> Task-number: QTBUG-73231 Change-Id: I3c31b741344d9e85e4f5d9e60bae75acce2db741 Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions