[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bb0e6fb: frame-position doc string clarificaton
From: |
Lars Ingebrigtsen |
Subject: |
master bb0e6fb: frame-position doc string clarificaton |
Date: |
Sun, 29 Nov 2020 05:10:50 -0500 (EST) |
branch: master
commit bb0e6fb8862480dbabc971a1ef34721a701c1288
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
frame-position doc string clarificaton
* src/frame.c (Fframe_position): Mention that the values are
system-dependent (bug#32977).
---
src/frame.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/frame.c b/src/frame.c
index b33c521..17ec455 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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master bb0e6fb: frame-position doc string clarificaton,
Lars Ingebrigtsen <=