]> git.eshelyaron.com Git - emacs.git/commitdiff
frame-position doc string clarificaton
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 Nov 2020 10:10:42 +0000 (11:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 Nov 2020 10:10:42 +0000 (11:10 +0100)
* src/frame.c (Fframe_position): Mention that the values are
system-dependent (bug#32977).

src/frame.c

index b33c521fb67a6d68337c1f8dda0cad1336ce47da..17ec455d2d614875f9a2826e4ec9da96abe5cb5f 100644 (file)
@@ -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);