qt5base-lts/src/platformsupport
Morten Johan Sørvig 95bce5b185 QHighDpi: window geometry scaling functions
Add functions which scales window geometry:

	framNativeWindowGeometry()
	toNativeWindowGeometry()

These correctly handles top-level and child windows,
where top-level window positions scale around the screen
origin while child window positions scale around (0, 0).

Modify call cites to use the new functions. We no longer
need the isTopLevel checks at the call site.

Change-Id: I0158672d46a3f52dfc7d37d021fc5cebd7859200
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-10-20 07:26:24 +02:00
..
devicediscovery Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
fbconvenience CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
input QHighDpi: window geometry scaling functions 2020-10-20 07:26:24 +02:00
kmsconvenience CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt Remove linuxofono 2020-07-15 07:33:32 +02:00
CMakeLists.txt Remove linuxofono 2020-07-15 07:33:32 +02:00
platformsupport.pro Remove linuxofono 2020-07-15 07:33:32 +02:00