Mouse support for window selection