diff options
| author | Lars Ingebrigtsen | 2020-11-29 11:10:42 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-11-29 11:10:42 +0100 |
| commit | bb0e6fb8862480dbabc971a1ef34721a701c1288 (patch) | |
| tree | e312d987d40e4dd01a516d3ffbccf77762ea8c96 /src | |
| parent | 70c8ed55fdda7631e5e930bba81395ba9d8d1751 (diff) | |
| download | emacs-bb0e6fb8862480dbabc971a1ef34721a701c1288.tar.gz emacs-bb0e6fb8862480dbabc971a1ef34721a701c1288.zip | |
frame-position doc string clarificaton
* src/frame.c (Fframe_position): Mention that the values are
system-dependent (bug#32977).
Diffstat (limited to 'src')
| -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 b33c521fb67..17ec455d2d6 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -3634,7 +3634,11 @@ DEFUN ("frame-position", Fframe_position, | |||
| 3634 | FRAME must be a live frame and defaults to the selected one. The return | 3634 | FRAME must be a live frame and defaults to the selected one. The return |
| 3635 | value is a cons (x, y) of the coordinates of the top left corner of | 3635 | value is a cons (x, y) of the coordinates of the top left corner of |
| 3636 | FRAME's outer frame, in pixels relative to an origin (0, 0) of FRAME's | 3636 | FRAME's outer frame, in pixels relative to an origin (0, 0) of FRAME's |
| 3637 | display. */) | 3637 | display. |
| 3638 | |||
| 3639 | Note that the values returned are not guaranteed to be accurate: The | ||
| 3640 | values depend on the underlying window system, and some systems add a | ||
| 3641 | constant offset to the values. */) | ||
| 3638 | (Lisp_Object frame) | 3642 | (Lisp_Object frame) |
| 3639 | { | 3643 | { |
| 3640 | register struct frame *f = decode_live_frame (frame); | 3644 | register struct frame *f = decode_live_frame (frame); |