diff options
| author | Morteza Jamshidi <[email protected]> | 2025-12-05 12:17:25 +0100 |
|---|---|---|
| committer | Morteza Jamshidi <[email protected]> | 2025-12-10 20:43:51 +0100 |
| commit | 48a5dedf1a7ccf2a6782e4ecafebdae72861f36b (patch) | |
| tree | 3ab618a4549f5f85350d1d035b21e11ffc45410a /src/plugins/platforms/wasm/qwasmdrag.cpp | |
| parent | 8c26ed259c6255c05d16caa8e5d9396e4987c7fc (diff) | |
Windows QPA: fix grabWindow position calculation with real display DPI
When dpi awareness is not set to PerMonitor, windows reports primary
display or dummy DPI for all displays, so xIn and yIn and windowSize are
calculated with a wrong DPI and used in BitBlt api, so we need to
recalculate them using the actual screen size we get from
EnumDisplaySettings api.
Fixes: QTBUG-142030
Change-Id: If8ae61c6635b1e7115eb5ca0aaf6ed0caf47f82d
Reviewed-by: Morten Johan Sørvig <[email protected]>
Reviewed-by: Oliver Wolff <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmdrag.cpp')
0 files changed, 0 insertions, 0 deletions
