Unset virtual keyboard geometry when the input panel surface is unmapped
This commit is contained in:
parent
88829de9dd
commit
631276e3c1
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void VirtualKeyboard::init()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
connect(client->surface(), &SurfaceInterface::inputChanged, this, refreshFrame);
|
connect(client->surface(), &SurfaceInterface::inputChanged, this, refreshFrame);
|
||||||
connect(client->surface(), &QObject::destroyed, this, [this] {
|
connect(client, &QObject::destroyed, this, [this] {
|
||||||
if (m_trackedClient) {
|
if (m_trackedClient) {
|
||||||
m_trackedClient->setVirtualKeyboardGeometry({});
|
m_trackedClient->setVirtualKeyboardGeometry({});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue