|
@@ -186,6 +186,11 @@ bool WindowsFramelessHelper::nativeEventFilter(const QByteArray &eventType, void
|
|
|
*result = 0;
|
|
|
return true;
|
|
|
}
|
|
|
+ } else if (WM_MOVE == lpMsg->message) {
|
|
|
+ RECT rcClient;
|
|
|
+ GetWindowRect(lpMsg->hwnd, &rcClient);
|
|
|
+ SetWindowPos(lpMsg->hwnd, NULL, rcClient.left, rcClient.top, rcClient.right - rcClient.left,
|
|
|
+ rcClient.bottom - rcClient.top, SWP_FRAMECHANGED);
|
|
|
}
|
|
|
#ifdef Q_CC_MSVC
|
|
|
else if (WM_DPICHANGED == lpMsg->message) {
|