mark the window which current cursor is in.