aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2026-01-06 10:05:51 +0100
committerMartin Rudalics2026-01-06 10:05:51 +0100
commit52e0c9eb2aff62f548bd9b846ce0308fbd9335bc (patch)
treeb54729afbf5a8e70f77f4f44b4d6f69da2307e0d /src
parentd7a219ef776e363e25e6c1ac2c120b91815cf272 (diff)
downloademacs-52e0c9eb2aff62f548bd9b846ce0308fbd9335bc.tar.gz
emacs-52e0c9eb2aff62f548bd9b846ce0308fbd9335bc.zip
; Fix doc-string of Fset_frame_position
* src/frame.c (Fset_frame_position): In doc-string say that for a child frame X and Y are relative to FRAME's parent frame.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c
index ec227ce276d..a03be0cd52f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -4525,10 +4525,11 @@ DEFUN ("set-frame-position", Fset_frame_position,
4525 doc: /* Set position of FRAME to (X, Y). 4525 doc: /* Set position of FRAME to (X, Y).
4526FRAME must be a live frame and defaults to the selected one. X and Y, 4526FRAME must be a live frame and defaults to the selected one. X and Y,
4527if positive, specify the coordinate of the left and top edge of FRAME's 4527if positive, specify the coordinate of the left and top edge of FRAME's
4528outer frame in pixels relative to an origin (0, 0) of FRAME's display. 4528outer frame in pixels relative to an origin (0, 0) of FRAME's display
4529If any of X or Y is negative, it specifies the coordinates of the right 4529or, if FRAME is a child frame, its parent frame. If any of X or Y is
4530or bottom edge of the outer frame of FRAME relative to the right or 4530negative, it specifies the coordinates of the right or bottom edge of
4531bottom edge of FRAME's display. */) 4531the outer frame of FRAME relative to the right or bottom edge of FRAME's
4532display or parent frame. */)
4532 (Lisp_Object frame, Lisp_Object x, Lisp_Object y) 4533 (Lisp_Object frame, Lisp_Object x, Lisp_Object y)
4533{ 4534{
4534 struct frame *f = decode_live_frame (frame); 4535 struct frame *f = decode_live_frame (frame);