mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-01-23 12:24:34 +08:00
fix bug #377
This commit is contained in:
parent
f6cc83123b
commit
a851696eb0
@ -225,8 +225,10 @@ void FluFramelessHelper::componentComplete(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FluFramelessHelper::_onScreenChanged(){
|
void FluFramelessHelper::_onScreenChanged(){
|
||||||
_window->update();
|
#ifdef Q_OS_WIN
|
||||||
QGuiApplication::processEvents();
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
void FluFramelessHelper::_onStayTopChange(){
|
void FluFramelessHelper::_onStayTopChange(){
|
||||||
|
Loading…
Reference in New Issue
Block a user