diff options
| -rw-r--r-- | src/frame.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index 64b146ce0b4..50c7ce0439a 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1363,7 +1363,11 @@ and nil for X and Y.") | |||
| 1363 | 1363 | ||
| 1364 | DEFUN ("set-mouse-position", Fset_mouse_position, Sset_mouse_position, 3, 3, 0, | 1364 | DEFUN ("set-mouse-position", Fset_mouse_position, Sset_mouse_position, 3, 3, 0, |
| 1365 | "Move the mouse pointer to the center of character cell (X,Y) in FRAME.\n\ | 1365 | "Move the mouse pointer to the center of character cell (X,Y) in FRAME.\n\ |
| 1366 | Note, this is a no-op for an X frame that is not visible.\n\ | 1366 | Coordinates are relative to the frame, not a window,\n\ |
| 1367 | so the coordinates of the top left character in the frame\n\ | ||
| 1368 | may be nonzero due to left-hand scroll bars or the menu bar.\n\ | ||
| 1369 | \n\ | ||
| 1370 | This function is a no-op for an X frame that is not visible.\n\ | ||
| 1367 | If you have just created a frame, you must wait for it to become visible\n\ | 1371 | If you have just created a frame, you must wait for it to become visible\n\ |
| 1368 | before calling this function on it, like this.\n\ | 1372 | before calling this function on it, like this.\n\ |
| 1369 | (while (not (frame-visible-p frame)) (sleep-for .5))") | 1373 | (while (not (frame-visible-p frame)) (sleep-for .5))") |