
When the keyboard is configured, make lg shorter (if necessary) to avoid overlapping it. Also, make a few simplifications to lg's layout code. In particular, move it into panelBox, to simplify its interactions with the panel. https://bugzilla.gnome.org/show_bug.cgi?id=657986