Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2022-03-14 15:36:12 +08:00
parent bb8d174c56
commit b9cb70b3ac
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ void FramelessHelperWin::removeWindow(QWindow *window)
g_helper()->mutex.unlock();
return;
}
g_helper()->acceptableWinIds.removeAll(winId);
g_helper()->mutex.unlock();
if (!uninstallWindowHook(winId)) {
qWarning() << "Failed to un-hook the window proc function.";