diff options
| author | Eli Zaretskii | 2006-08-12 11:36:15 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-08-12 11:36:15 +0000 |
| commit | d0cd961e58fb5e421377fad88b1037546e9bec93 (patch) | |
| tree | fa7900e7e445b5bbb61b5b9449d50f2f7f966565 /src | |
| parent | d5e5361f9fbc64540b42cefb819efec84fa910b3 (diff) | |
| download | emacs-d0cd961e58fb5e421377fad88b1037546e9bec93.tar.gz emacs-d0cd961e58fb5e421377fad88b1037546e9bec93.zip | |
(Fmouse_position, Fmouse_pixel_position)
(Fset_mouse_position, Fset_mouse_pixel_position): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index 1fdeb129f89..82a016be69e 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1429,7 +1429,8 @@ The functions are run with one arg, the frame to be deleted. */) | |||
| 1429 | DEFUN ("mouse-position", Fmouse_position, Smouse_position, 0, 0, 0, | 1429 | DEFUN ("mouse-position", Fmouse_position, Smouse_position, 0, 0, 0, |
| 1430 | doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position. | 1430 | doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position. |
| 1431 | The position is given in character cells, where (0, 0) is the | 1431 | The position is given in character cells, where (0, 0) is the |
| 1432 | upper-left corner. | 1432 | upper-left corner of the frame, X is the horizontal offset, and Y is |
| 1433 | the vertical offset. | ||
| 1433 | If Emacs is running on a mouseless terminal or hasn't been programmed | 1434 | If Emacs is running on a mouseless terminal or hasn't been programmed |
| 1434 | to read the mouse position, it returns the selected frame for FRAME | 1435 | to read the mouse position, it returns the selected frame for FRAME |
| 1435 | and nil for X and Y. | 1436 | and nil for X and Y. |
| @@ -1477,7 +1478,8 @@ DEFUN ("mouse-pixel-position", Fmouse_pixel_position, | |||
| 1477 | Smouse_pixel_position, 0, 0, 0, | 1478 | Smouse_pixel_position, 0, 0, 0, |
| 1478 | doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position. | 1479 | doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position. |
| 1479 | The position is given in pixel units, where (0, 0) is the | 1480 | The position is given in pixel units, where (0, 0) is the |
| 1480 | upper-left corner. | 1481 | upper-left corner of the frame, X is the horizontal offset, and Y is |
| 1482 | the vertical offset. | ||
| 1481 | If Emacs is running on a mouseless terminal or hasn't been programmed | 1483 | If Emacs is running on a mouseless terminal or hasn't been programmed |
| 1482 | to read the mouse position, it returns the selected frame for FRAME | 1484 | to read the mouse position, it returns the selected frame for FRAME |
| 1483 | and nil for X and Y. */) | 1485 | and nil for X and Y. */) |
| @@ -1510,6 +1512,10 @@ Coordinates are relative to the frame, not a window, | |||
| 1510 | so the coordinates of the top left character in the frame | 1512 | so the coordinates of the top left character in the frame |
| 1511 | may be nonzero due to left-hand scroll bars or the menu bar. | 1513 | may be nonzero due to left-hand scroll bars or the menu bar. |
| 1512 | 1514 | ||
| 1515 | The position is given in character cells, where (0, 0) is the | ||
| 1516 | upper-left corner of the frame, X is the horizontal offset, and Y is | ||
| 1517 | the vertical offset. | ||
| 1518 | |||
| 1513 | This function is a no-op for an X frame that is not visible. | 1519 | This function is a no-op for an X frame that is not visible. |
| 1514 | If you have just created a frame, you must wait for it to become visible | 1520 | If you have just created a frame, you must wait for it to become visible |
| 1515 | before calling this function on it, like this. | 1521 | before calling this function on it, like this. |
| @@ -1542,6 +1548,9 @@ before calling this function on it, like this. | |||
| 1542 | DEFUN ("set-mouse-pixel-position", Fset_mouse_pixel_position, | 1548 | DEFUN ("set-mouse-pixel-position", Fset_mouse_pixel_position, |
| 1543 | Sset_mouse_pixel_position, 3, 3, 0, | 1549 | Sset_mouse_pixel_position, 3, 3, 0, |
| 1544 | doc: /* Move the mouse pointer to pixel position (X,Y) in FRAME. | 1550 | doc: /* Move the mouse pointer to pixel position (X,Y) in FRAME. |
| 1551 | The position is given in pixels, where (0, 0) is the upper-left corner | ||
| 1552 | of the frame, X is the horizontal offset, and Y is the vertical offset. | ||
| 1553 | |||
| 1545 | Note, this is a no-op for an X frame that is not visible. | 1554 | Note, this is a no-op for an X frame that is not visible. |
| 1546 | If you have just created a frame, you must wait for it to become visible | 1555 | If you have just created a frame, you must wait for it to become visible |
| 1547 | before calling this function on it, like this. | 1556 | before calling this function on it, like this. |