Compare commits
2 Commits
f6cc83123b
...
0b7358af41
Author | SHA1 | Date |
---|---|---|
|
0b7358af41 | |
|
a851696eb0 |
|
@ -225,6 +225,10 @@ void FluFramelessHelper::componentComplete(){
|
|||
}
|
||||
|
||||
void FluFramelessHelper::_onScreenChanged(){
|
||||
#ifdef Q_OS_WIN
|
||||
HWND hwnd = reinterpret_cast<HWND>(_window->winId());
|
||||
SetWindowPos(hwnd,nullptr,0,0,0,0,SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOSIZE |SWP_FRAMECHANGED);
|
||||
#endif
|
||||
_window->update();
|
||||
QGuiApplication::processEvents();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue