摘要 |
Embodiments of the present application disclose a method for controlling a mouse pointer to automatically follow a cursor. During operation, the system detects whether the cursor is in a currently active window displayed on a screen of a computing device. In response to detecting that the cursor is in the currently active window, the system obtains coordinates of the cursor. The system then calculates follow coordinates according to the coordinates of the cursor and a predetermined distance value. The system subsequently sets coordinates of the mouse pointer to the follow coordinates. |