Mercurial > emacs
diff doc/lispref/frames.texi @ 111027:656b7a197029
* src/frame.c (Fframe_pointer_visible_p):
Add `frame-pointer-visible-p' to get the pointer visibility.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 18 Oct 2010 17:07:31 -0400 |
parents | bcc7c00e9ef4 |
children | 417b1e4d63cd |
line wrap: on
line diff
--- a/doc/lispref/frames.texi Mon Oct 18 17:02:00 2010 -0400 +++ b/doc/lispref/frames.texi Mon Oct 18 17:07:31 2010 -0400 @@ -1748,6 +1748,15 @@ value is not significant. @end defun +@defun frame-pointer-visible-p &optional frame +This predicate function returns non-@code{nil} if the mouse pointer +displayed on @var{frame} is visible; otherwise it returns @code{nil}. +@var{frame} omitted or @code{nil} means the selected frame. This is +useful when @code{make-pointer-invisible} is set to @code{t}: it +allows to know if the pointer has been hidden. +@xref{Mouse Avoidance,,,emacs}. +@end defun + @need 3000 @node Pop-Up Menus