Revert "waylandserver: fix race condition"
This reverts commit03d0a226fb
. ClientConnection object is no longer destroyed with delay after merging5246d3924f
.
This commit is contained in:
parent
787d3a3ba4
commit
88583b8eed
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue