Mercurial > emacs
comparison src/frame.c @ 23746:06f68bc4b777
(Fset_mouse_position): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 22 Nov 1998 17:23:36 +0000 |
parents | 72e494670e20 |
children | c69d9e48269b |
comparison
equal
deleted
inserted
replaced
23745:43927e2a5899 | 23746:06f68bc4b777 |
---|---|
1361 return Fcons (lispy_dummy, Fcons (x, y)); | 1361 return Fcons (lispy_dummy, Fcons (x, y)); |
1362 } | 1362 } |
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))") |
1370 (frame, x, y) | 1374 (frame, x, y) |
1371 Lisp_Object frame, x, y; | 1375 Lisp_Object frame, x, y; |