Xwayland: Disable input spy on xwayland teardown
Otherwise we have a potential crash when we send keys to the non-existent xwayland wayland connection
This commit is contained in:
parent
3de1498252
commit
4474f4098a
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,9 @@ void Xwayland::handleXwaylandFinished()
|
|||
m_dataBridge.reset();
|
||||
m_selectionOwner.reset();
|
||||
|
||||
m_inputSpy.reset();
|
||||
disconnect(options, &Options::xwaylandEavesdropsChanged, this, &Xwayland::refreshEavesdropping);
|
||||
|
||||
destroyX11Connection();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue