parent
bb3aeb7f4c
commit
416f717834
|
@ -725,10 +725,6 @@ bool WinNativeEventFilter::nativeEventFilter(const QByteArray &eventType,
|
||||||
*result = 1;
|
*result = 1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case WM_WINDOWPOSCHANGED: {
|
|
||||||
updateWindow(msg->hwnd);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1012,10 +1008,7 @@ void WinNativeEventFilter::updateWindow(HWND handle) {
|
||||||
m_lpSetWindowPos(handle, nullptr, 0, 0, 0, 0,
|
m_lpSetWindowPos(handle, nullptr, 0, 0, 0, 0,
|
||||||
SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOSIZE |
|
SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOSIZE |
|
||||||
SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||||
m_lpInvalidateRect(handle, nullptr, TRUE);
|
|
||||||
m_lpRedrawWindow(handle, nullptr, nullptr,
|
m_lpRedrawWindow(handle, nullptr, nullptr,
|
||||||
RDW_INVALIDATE | RDW_ERASE | RDW_FRAME |
|
RDW_INVALIDATE | RDW_UPDATENOW | RDW_NOCHILDREN);
|
||||||
RDW_ALLCHILDREN);
|
|
||||||
m_lpUpdateWindow(handle);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue