diff options
| author | Martin Rudalics | 2026-01-06 10:05:51 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2026-01-06 10:05:51 +0100 |
| commit | 52e0c9eb2aff62f548bd9b846ce0308fbd9335bc (patch) | |
| tree | b54729afbf5a8e70f77f4f44b4d6f69da2307e0d /src | |
| parent | d7a219ef776e363e25e6c1ac2c120b91815cf272 (diff) | |
| download | emacs-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.c | 9 |
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). |
| 4526 | FRAME must be a live frame and defaults to the selected one. X and Y, | 4526 | FRAME must be a live frame and defaults to the selected one. X and Y, |
| 4527 | if positive, specify the coordinate of the left and top edge of FRAME's | 4527 | if positive, specify the coordinate of the left and top edge of FRAME's |
| 4528 | outer frame in pixels relative to an origin (0, 0) of FRAME's display. | 4528 | outer frame in pixels relative to an origin (0, 0) of FRAME's display |
| 4529 | If any of X or Y is negative, it specifies the coordinates of the right | 4529 | or, if FRAME is a child frame, its parent frame. If any of X or Y is |
| 4530 | or bottom edge of the outer frame of FRAME relative to the right or | 4530 | negative, it specifies the coordinates of the right or bottom edge of |
| 4531 | bottom edge of FRAME's display. */) | 4531 | the outer frame of FRAME relative to the right or bottom edge of FRAME's |
| 4532 | display 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); |