From e84ffeec075c7e9cbfe3eb192b92cdc62e67026a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 Nov 1998 17:23:36 +0000 Subject: [PATCH] (Fset_mouse_position): Doc fix. --- src/frame.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.") 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))") -- 2.39.5