From 8f0471d4eca9d9f3daee1ed220a79bd101e37b18 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Sat, 31 Aug 2019 22:12:44 +0300 Subject: [PATCH] Uncomment assert Both Client::releaseWindow and Client::destroyClient reset frame window. So, it's safe to assert frameId() back again. --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index e4c704910e..50092a0a29 100644 --- a/client.cpp +++ b/client.cpp @@ -200,7 +200,7 @@ Client::~Client() Q_ASSERT(!isMoveResize()); Q_ASSERT(m_client == XCB_WINDOW_NONE); Q_ASSERT(m_wrapper == XCB_WINDOW_NONE); - //Q_ASSERT( frameId() == None ); + Q_ASSERT(m_frame == XCB_WINDOW_NONE); Q_ASSERT(!check_active_modal); for (auto it = m_connections.constBegin(); it != m_connections.constEnd(); ++it) { disconnect(*it);