From 25c26b45063c44d609fe9fb2a203dc355bf46bae Mon Sep 17 00:00:00 2001 From: SimplestStudio Date: Mon, 21 Aug 2023 06:03:23 +0300 Subject: [PATCH] [win] debug --- win-linux/src/windows/platform_win/cwindowplatform.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/win-linux/src/windows/platform_win/cwindowplatform.cpp b/win-linux/src/windows/platform_win/cwindowplatform.cpp index 8c2f8c758..91892cabc 100644 --- a/win-linux/src/windows/platform_win/cwindowplatform.cpp +++ b/win-linux/src/windows/platform_win/cwindowplatform.cpp @@ -419,8 +419,13 @@ bool CWindowPlatform::nativeEvent(const QByteArray &eventType, void *message, lo case WM_NCACTIVATE: { // Prevent the title bar from being drawn when the window is restored or maximized - if (m_borderless) + if (m_borderless) { + if (!msg->wParam) { + *result = TRUE; + break; + } return true; + } break; }