From 0b7358af41e83cf2101ce993a1fc4ebbbaa61e2a Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Wed, 20 Dec 2023 18:06:46 +0800 Subject: [PATCH] fix bug #377 --- src/FluFramelessHelper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FluFramelessHelper.cpp b/src/FluFramelessHelper.cpp index b6615554..2c95896d 100644 --- a/src/FluFramelessHelper.cpp +++ b/src/FluFramelessHelper.cpp @@ -229,6 +229,8 @@ void FluFramelessHelper::_onScreenChanged(){ HWND hwnd = reinterpret_cast(_window->winId()); SetWindowPos(hwnd,nullptr,0,0,0,0,SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOSIZE |SWP_FRAMECHANGED); #endif + _window->update(); + QGuiApplication::processEvents(); } void FluFramelessHelper::_onStayTopChange(){