diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-11-29 11:10:42 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-11-29 11:10:42 +0100 |
commit | bb0e6fb8862480dbabc971a1ef34721a701c1288 (patch) | |
tree | e312d987d40e4dd01a516d3ffbccf77762ea8c96 /src/frame.c | |
parent | 70c8ed55fdda7631e5e930bba81395ba9d8d1751 (diff) | |
download | emacs-bb0e6fb8862480dbabc971a1ef34721a701c1288.tar.gz emacs-bb0e6fb8862480dbabc971a1ef34721a701c1288.tar.bz2 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/frame.c')
-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, FRAME must be a live frame and defaults to the selected one. The return value is a cons (x, y) of the coordinates of the top left corner of FRAME's outer frame, in pixels relative to an origin (0, 0) of FRAME's -display. */) +display. + +Note that the values returned are not guaranteed to be accurate: The +values depend on the underlying window system, and some systems add a +constant offset to the values. */) (Lisp_Object frame) { register struct frame *f = decode_live_frame (frame); |