use EnterNotify event