diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-09-29 11:46:15 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-12 16:37:41 +0000 |
commit | 92c3bc7e71d9a6f38d565fae426e55b6d1f68620 (patch) | |
tree | f8da74990f3a93e689327291aa8410c2b3a367cf /src | |
parent | efb9190406a9a598bfe9100d74801acf1d5a2553 (diff) |
Add message debug entry for DPI change events
WM_GETDPISCALEDSIZE and WM_DPICHANGED.
Change-Id: I0614b0f552e52fc77d026dbc7e8c13b05f7d0e9e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 7b46ba165ef61f25860df3a407013cf521fc800d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/platform/windows/qwindowsguieventdispatcher.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/platform/windows/qwindowsguieventdispatcher.cpp b/src/gui/platform/windows/qwindowsguieventdispatcher.cpp index 999e119681..183ee20fa9 100644 --- a/src/gui/platform/windows/qwindowsguieventdispatcher.cpp +++ b/src/gui/platform/windows/qwindowsguieventdispatcher.cpp @@ -209,6 +209,12 @@ messageDebugEntries[] = { {WM_POINTERROUTEDAWAY, "WM_POINTERROUTEDAWAY", true}, {WM_POINTERROUTEDRELEASED, "WM_POINTERROUTEDRELEASED", true}, #endif // WM_POINTERROUTEDTO +#ifdef WM_GETDPISCALEDSIZE + {WM_GETDPISCALEDSIZE, "WM_GETDPISCALEDSIZE", true}, +#endif +#ifdef WM_DPICHANGED + {WM_DPICHANGED, "WM_DPICHANGED", true}, +#endif }; static inline const MessageDebugEntry *messageDebugEntry(UINT msg) |