Send a notification only if window is not active