on xenial help sign in
TLWM: connect to the OSK surface to know when it goes away so we can clean up after it.
5d81cd7Gerry Boland
plugins/WindowManager/TopLevelWindowModel.cpp+1
@@ -341,6 +341,7 @@ void TopLevelWindowModel::onSurfaceCreated(unityapi::MirSurfaceInterface *surfac
341 });
341 });
342 } else {
342 } else {
343 if (surface->type() == Mir::InputMethodType) {
343 if (surface->type() == Mir::InputMethodType) {
344+ connectSurface(surface);
344 setInputMethodWindow(createWindow(surface));
345 setInputMethodWindow(createWindow(surface));
345 } else {
346 } else {
346 auto *application = m_applicationManager->findApplicationWithSurface(surface);
347 auto *application = m_applicationManager->findApplicationWithSurface(surface);