aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-11-29 11:10:42 +0100
committerLars Ingebrigtsen2020-11-29 11:10:42 +0100
commitbb0e6fb8862480dbabc971a1ef34721a701c1288 (patch)
treee312d987d40e4dd01a516d3ffbccf77762ea8c96 /src
parent70c8ed55fdda7631e5e930bba81395ba9d8d1751 (diff)
downloademacs-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.c6
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,
3634FRAME must be a live frame and defaults to the selected one. The return 3634FRAME must be a live frame and defaults to the selected one. The return
3635value is a cons (x, y) of the coordinates of the top left corner of 3635value is a cons (x, y) of the coordinates of the top left corner of
3636FRAME's outer frame, in pixels relative to an origin (0, 0) of FRAME's 3636FRAME's outer frame, in pixels relative to an origin (0, 0) of FRAME's
3637display. */) 3637display.
3638
3639Note that the values returned are not guaranteed to be accurate: The
3640values depend on the underlying window system, and some systems add a
3641constant 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);