detect windows clicked under cursor