set timeout for window clicks