08ad345f23
About every other situation can do with synchronizing keyboard visibility, and keyboard layout changes are already handled internally in the Keyboard object. A downside of this approach is that once created, there will always be a Keyboard instance and its full actor hierarchy. Seems reasonable to do that since we can't tell it won't ever be needed. https://bugzilla.gnome.org/show_bug.cgi?id=785309