Excuse me JohnnyBGood, but my solution does not work at all.

Because clicking on a disabled window does not set the focus on it, but remove the focus from the currently selected window.

When i posted it, i was on a computer without any programming language, so i had not tested it at all.