I haven't found anything about this in the forum so...
How can I remove the keyinput focus from a window?
I have a console where I do some text input. If I press the middle button of the mouse I'd like the focus to disappear from my console.
Now triggering the mouse is easy

(Btw. the focus doesn't go away either if I just click in an empty place on the screen.)
Any hints are welcome
Regards,
Z