Revert "waylandserver: fix race condition"

This reverts commit 03d0a226fb.

ClientConnection object is no longer destroyed with delay after merging
5246d3924f.
master
Vlad Zahorodnii 12 months ago
parent 787d3a3ba4
commit 88583b8eed

@ -693,9 +693,7 @@ int WaylandServer::createXWaylandConnection()
m_xwaylandConnection->setScaleOverride(kwinApp()->xwaylandScale());
connect(kwinApp(), &Application::xwaylandScaleChanged, m_xwaylandConnection, [this]() {
if (m_xwaylandConnection) {
m_xwaylandConnection->setScaleOverride(kwinApp()->xwaylandScale());
}
m_xwaylandConnection->setScaleOverride(kwinApp()->xwaylandScale());
});
return socket.fd;

Loading…
Cancel
Save