only notify on window losing focus