Unset virtual keyboard geometry when the input panel surface is unmapped

master
Vlad Zahorodnii 2020-09-04 10:33:35 +03:00
parent 88829de9dd
commit 631276e3c1
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void VirtualKeyboard::init()
}
};
connect(client->surface(), &SurfaceInterface::inputChanged, this, refreshFrame);
connect(client->surface(), &QObject::destroyed, this, [this] {
connect(client, &QObject::destroyed, this, [this] {
if (m_trackedClient) {
m_trackedClient->setVirtualKeyboardGeometry({});
}