Use proper signal to get notified when to reset virtual keyboard geometry
Currently, input method relies on the fact that QObject::destroyed and Window::closed are equivalent. But it's going to change, so make the input method use a signal that's semantically better.