That's not a problem. If the layout is once set for that particular window, kbdd will take care of the focus changes and activate the proper layout if the focus moves. All I want is to set the initial layout to US on the terminal windows and leave the other layout as the default for all the rest.
On Tue, Sep 1, 2015 at 5:13 PM, Ingo Bürk <ad...@airblader.de> wrote: > For_window will only be run when the window is opened, not everytime it is > focused. >