warp-to-window

Name

warp-to-window -- Move the mouse pointer to the upper left corner of WIN.

Synopsis

(warp-to-window  #&optional win x-offset y-offset)

Description

Move the mouse pointer to the upper left corner of win. x-offset, y-offset are pixel offsets from the top left corner; they each default to 2 pixels. If win is on a different desk or in a different viewport, these will be changed appropriately so that the window is visible. Note that the target window is not raised, so if the target window's upper left corner is under another window, that other window may end up with the keyboard focus.

Implementation Notes

Module: Built-in Primitive

Defined in src/window.c at line 1861 (CVS log)