Skip to content

Commit a2402de

Browse files
authored
Merge branch 'master' into topic-update-nosync
2 parents 3d0bacb + 117574e commit a2402de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xcb/dnotitlebarwindowhelper.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ DNoTitlebarWindowHelper::~DNoTitlebarWindowHelper()
8181
{
8282
g_pressPoint.remove(this);
8383

84+
if (VtableHook::hasVtable(m_window)) {
85+
VtableHook::resetVtable(m_window);
86+
}
87+
8488
mapped.remove(qobject_cast<QWindow*>(parent()));
8589

8690
if (m_window->handle()) { // 当本地窗口还存在时,移除设置过的窗口属性

0 commit comments

Comments
 (0)