@neauoire I’d probably set up a global key event listener and then keep track of my windows on my own. Like this keylogger. Not sure if this is quite what you want though.

github.com/anko/xkbcat/blob/ma