From 92c3bc7e71d9a6f38d565fae426e55b6d1f68620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Wed, 29 Sep 2021 11:46:15 +0200 Subject: Add message debug entry for DPI change events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WM_GETDPISCALEDSIZE and WM_DPICHANGED. Change-Id: I0614b0f552e52fc77d026dbc7e8c13b05f7d0e9e Reviewed-by: Tor Arne Vestbø (cherry picked from commit 7b46ba165ef61f25860df3a407013cf521fc800d) Reviewed-by: Qt Cherry-pick Bot --- src/gui/platform/windows/qwindowsguieventdispatcher.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v1.2.3