xwayland: Disconnect xwaylandEavesdropsMouseChanged signal on finish

It appears that this was missed in 183637502d.
This commit is contained in:
Łukasz Patron 2024-03-08 01:08:21 +01:00 committed by Vlad Zahorodnii
parent e2cbed7060
commit f5cb109a87

View file

@ -542,6 +542,7 @@ void Xwayland::handleXwaylandFinished()
m_inputSpy.reset();
disconnect(options, &Options::xwaylandEavesdropsChanged, this, &Xwayland::refreshEavesdropping);
disconnect(options, &Options::xwaylandEavesdropsMouseChanged, this, &Xwayland::refreshEavesdropping);
destroyX11Connection();
}