Mercurial > emacs
changeset 23746:06f68bc4b777
(Fset_mouse_position): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 22 Nov 1998 17:23:36 +0000 |
parents | 43927e2a5899 |
children | fb3963445995 |
files | src/frame.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Sun Nov 22 15:35:02 1998 +0000 +++ b/src/frame.c Sun Nov 22 17:23:36 1998 +0000 @@ -1363,7 +1363,11 @@ DEFUN ("set-mouse-position", Fset_mouse_position, Sset_mouse_position, 3, 3, 0, "Move the mouse pointer to the center of character cell (X,Y) in FRAME.\n\ -Note, this is a no-op for an X frame that is not visible.\n\ +Coordinates are relative to the frame, not a window,\n\ +so the coordinates of the top left character in the frame\n\ +may be nonzero due to left-hand scroll bars or the menu bar.\n\ +\n\ +This function is a no-op for an X frame that is not visible.\n\ If you have just created a frame, you must wait for it to become visible\n\ before calling this function on it, like this.\n\ (while (not (frame-visible-p frame)) (sleep-for .5))")