diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-11-14 16:08:51 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-11-18 14:04:08 +0000 |
commit | 3035400f36731c400adb9204b94e9afe346a71b7 (patch) | |
tree | 2d43ed5dd71e8882d70275f0b89ebb36d152db7b /src/corelib/tools/qchar.cpp | |
parent | 3a0764d625a18233006ca438226281bc3c6740c5 (diff) |
Windows QPA: Reimplement calculation of window frames
Instead of relying on AdjustWindowRectEx() and dirty-handling,
capture the rectangles before and after the processing of
WM_NCCALCSIZE and calculate the frame from that. This allows
for changing window frames by handling WM_NCCALCSIZE and
monitor-dependent window frames when using High DPI scaling.
Task-number: QTBUG-53255
Task-number: QTBUG-40578
Task-number: QTBUG-56591
Change-Id: If8364a5440a6324ea5d470bf5b74e68942285abe
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/tools/qchar.cpp')
0 files changed, 0 insertions, 0 deletions