From b9cb70b3aca0c471a5e972b5d4626bbb810b01a2 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Mon, 14 Mar 2022 15:36:12 +0800 Subject: [PATCH] wip Signed-off-by: Yuhang Zhao <2546789017@qq.com> --- framelesshelper_win32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/framelesshelper_win32.cpp b/framelesshelper_win32.cpp index 1eec47a..e6f1082 100644 --- a/framelesshelper_win32.cpp +++ b/framelesshelper_win32.cpp @@ -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.";