Uncomment assert

Both Client::releaseWindow and Client::destroyClient reset frame window.
So, it's safe to assert frameId() back again.
This commit is contained in:
Vlad Zagorodniy 2019-08-31 22:12:44 +03:00
parent b99d7923e1
commit 8f0471d4ec

View file

@ -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);