This commit is contained in:
zhuzichu 2023-12-20 18:06:46 +08:00
parent a851696eb0
commit 0b7358af41

View File

@ -229,6 +229,8 @@ void FluFramelessHelper::_onScreenChanged(){
HWND hwnd = reinterpret_cast<HWND>(_window->winId()); HWND hwnd = reinterpret_cast<HWND>(_window->winId());
SetWindowPos(hwnd,nullptr,0,0,0,0,SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOSIZE |SWP_FRAMECHANGED); SetWindowPos(hwnd,nullptr,0,0,0,0,SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOSIZE |SWP_FRAMECHANGED);
#endif #endif
_window->update();
QGuiApplication::processEvents();
} }
void FluFramelessHelper::_onStayTopChange(){ void FluFramelessHelper::_onStayTopChange(){