From: Lars Ingebrigtsen Date: Sun, 29 Nov 2020 10:10:42 +0000 (+0100) Subject: frame-position doc string clarificaton X-Git-Tag: emacs-28.0.90~4997 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb0e6fb8862480dbabc971a1ef34721a701c1288;p=emacs.git frame-position doc string clarificaton * src/frame.c (Fframe_position): Mention that the values are system-dependent (bug#32977). --- 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);