summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/windows/qwindowsguieventdispatcher.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2021-09-29 11:46:15 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2021-10-07 14:22:56 +0200
commit7b46ba165ef61f25860df3a407013cf521fc800d (patch)
tree779eed93ebd10ac0c8a25ab6954a25e75738f269 /src/gui/platform/windows/qwindowsguieventdispatcher.cpp
parent81707951fe251d9c9074a5b8ca6211900a23d235 (diff)
Add message debug entry for DPI change events
WM_GETDPISCALEDSIZE and WM_DPICHANGED. Pick-to: 6.2 Change-Id: I0614b0f552e52fc77d026dbc7e8c13b05f7d0e9e Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/platform/windows/qwindowsguieventdispatcher.cpp')
-rw-r--r--src/gui/platform/windows/qwindowsguieventdispatcher.cpp6
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)