Fix input focus bugs.
First implementation of wlc interface.