[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e656b51: Fix frame geometry related text
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] master e656b51: Fix frame geometry related text |
Date: |
Fri, 21 Aug 2015 09:14:58 +0000 |
branch: master
commit e656b511a882410d3e0925c8e4385022649b71cc
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
Fix frame geometry related text
* doc/lispref/frames.texi (Frame Layout): Rename
`x-frame-geometry' to `frame-geometry'.
* doc/lispref/frames.texi (Mouse Position):
* doc/lispref/windows.texi (Coordinates and Windows): Use
`set-mouse-absolute-pixel-position' instead of
`x-set-mouse-absolute-pixel-position'.
---
doc/lispref/frames.texi | 6 +++---
doc/lispref/windows.texi | 4 ++--
etc/NEWS | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 28e6fbd..aea5204 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -623,7 +623,7 @@ visible.
For a frame on a graphical terminal the following function returns the
sizes of the areas described above:
address@hidden x-frame-geometry &optional frame
address@hidden frame-geometry &optional frame
This function returns geometric attributes of @var{frame}. The return
value is an association list of the attributes listed below. All
coordinate, height and width values are integers counting pixels.
@@ -2370,13 +2370,13 @@ The return value is not significant.
On a graphical terminal the following two functions allow to retrieve
and set the absolute position of the mouse cursor.
address@hidden x-mouse-absolute-pixel-position
address@hidden mouse-absolute-pixel-position
This function returns a cons cell (@var{x} . @var{y}) of the coordinates
of the mouse cursor position in pixels, relative to a position (0, 0) of
the selected frame's display.
@end defun
address@hidden x-set-mouse-absolute-pixel-position x y
address@hidden set-mouse-absolute-pixel-position x y
This function moves the mouse cursor to the position (@var{x}, @var{y}).
The coordinates @var{x} and @var{y} are interpreted in pixels relative
to a position (0, 0) of the selected frame's display.
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index b55a139..f809678 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -3866,7 +3866,7 @@ relative to an origin at (0, 0) of the display of
@var{window}'s frame.
Calling @code{(window-absolute-body-pixel-edges window)} is equivalent
to calling @code{(window-edges window t t t)}, see above.
-Combined with @code{x-set-mouse-absolute-pixel-position}, this function
+Combined with @code{set-mouse-absolute-pixel-position}, this function
can be used to move the mouse pointer to an arbitrary buffer position
visible in some window:
@@ -3907,7 +3907,7 @@ point in the selected window, it's sufficient to write:
@example
@group
(let ((position (window-absolute-pixel-position)))
- (x-set-mouse-absolute-pixel-position
+ (set-mouse-absolute-pixel-position
(car position) (cdr position)))
@end group
@end example
diff --git a/etc/NEWS b/etc/NEWS
index 3a654c8..17a6c3a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1123,12 +1123,12 @@ Horizontal scroll bars are turned off by default.
`scroll-bar-height'.
+++
-** New functions `x-frame-geometry' and `frame-edges' give access to a
+** New functions `frame-geometry' and `frame-edges' give access to a
frame's geometry.
+++
-** New functions `x-mouse-absolute-pixel-position' and
-`x-set-mouse-absolute-pixel-position' get/set screen coordinates of the
+** New functions `mouse-absolute-pixel-position' and
+`set-mouse-absolute-pixel-position' get/set screen coordinates of the
mouse cursor.
+++
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e656b51: Fix frame geometry related text,
Martin Rudalics <=