Add a check if we are running on a visible desktop. Credits to Dmitry
Timoshkov for the easy test.

1 file changed