aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-10-14 16:56:21 +0000
committerKaroly Lorentey2006-10-14 16:56:21 +0000
commit3f87f67ee215ffeecbd2f53bd7f342cdf03f47df (patch)
tree16f2af9111af08a94d608d96a957f5c3ec5effcc /src/frame.c
parent350e4fb815d7413ef6d339dd664014706f742927 (diff)
parent7a210b69c7f92650c524766d1b9d3f3eefdd67c7 (diff)
downloademacs-3f87f67ee215ffeecbd2f53bd7f342cdf03f47df.tar.gz
emacs-3f87f67ee215ffeecbd2f53bd7f342cdf03f47df.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-371 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-372 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-373 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-374 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-375 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-376 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-377 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-378 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-379 Merge from erc--emacs--21 * emacs@sv.gnu.org/emacs--devo--0--patch-380 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-381 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-382 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-383 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-384 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-385 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-386 Update from erc--emacs--22 * emacs@sv.gnu.org/emacs--devo--0--patch-387 Fix ERC bug introduced in last patch * emacs@sv.gnu.org/emacs--devo--0--patch-388 Update from erc--emacs--22 * emacs@sv.gnu.org/emacs--devo--0--patch-389 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-390 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-391 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-392 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-393 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-394 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-395 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-396 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-397 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-398 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-399 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-400 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-401 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-402 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-403 Rcirc update from Ryan Yeske * emacs@sv.gnu.org/emacs--devo--0--patch-404 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-405 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-406 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-407 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-408 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-409 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-410 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-411 Miscellaneous tq-related fixes. * emacs@sv.gnu.org/emacs--devo--0--patch-412 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-121 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-122 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-123 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-124 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-125 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-126 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-127 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-581
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index fd10c3e273c..021e9bf604f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1679,7 +1679,8 @@ The functions are run with one arg, the frame to be deleted. */)
1679DEFUN ("mouse-position", Fmouse_position, Smouse_position, 0, 0, 0, 1679DEFUN ("mouse-position", Fmouse_position, Smouse_position, 0, 0, 0,
1680 doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position. 1680 doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position.
1681The position is given in character cells, where (0, 0) is the 1681The position is given in character cells, where (0, 0) is the
1682upper-left corner. 1682upper-left corner of the frame, X is the horizontal offset, and Y is
1683the vertical offset.
1683If Emacs is running on a mouseless terminal or hasn't been programmed 1684If Emacs is running on a mouseless terminal or hasn't been programmed
1684to read the mouse position, it returns the selected frame for FRAME 1685to read the mouse position, it returns the selected frame for FRAME
1685and nil for X and Y. 1686and nil for X and Y.
@@ -1727,7 +1728,8 @@ DEFUN ("mouse-pixel-position", Fmouse_pixel_position,
1727 Smouse_pixel_position, 0, 0, 0, 1728 Smouse_pixel_position, 0, 0, 0,
1728 doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position. 1729 doc: /* Return a list (FRAME X . Y) giving the current mouse frame and position.
1729The position is given in pixel units, where (0, 0) is the 1730The position is given in pixel units, where (0, 0) is the
1730upper-left corner. 1731upper-left corner of the frame, X is the horizontal offset, and Y is
1732the vertical offset.
1731If Emacs is running on a mouseless terminal or hasn't been programmed 1733If Emacs is running on a mouseless terminal or hasn't been programmed
1732to read the mouse position, it returns the selected frame for FRAME 1734to read the mouse position, it returns the selected frame for FRAME
1733and nil for X and Y. */) 1735and nil for X and Y. */)
@@ -1760,6 +1762,10 @@ Coordinates are relative to the frame, not a window,
1760so the coordinates of the top left character in the frame 1762so the coordinates of the top left character in the frame
1761may be nonzero due to left-hand scroll bars or the menu bar. 1763may be nonzero due to left-hand scroll bars or the menu bar.
1762 1764
1765The position is given in character cells, where (0, 0) is the
1766upper-left corner of the frame, X is the horizontal offset, and Y is
1767the vertical offset.
1768
1763This function is a no-op for an X frame that is not visible. 1769This function is a no-op for an X frame that is not visible.
1764If you have just created a frame, you must wait for it to become visible 1770If you have just created a frame, you must wait for it to become visible
1765before calling this function on it, like this. 1771before calling this function on it, like this.
@@ -1792,6 +1798,9 @@ before calling this function on it, like this.
1792DEFUN ("set-mouse-pixel-position", Fset_mouse_pixel_position, 1798DEFUN ("set-mouse-pixel-position", Fset_mouse_pixel_position,
1793 Sset_mouse_pixel_position, 3, 3, 0, 1799 Sset_mouse_pixel_position, 3, 3, 0,
1794 doc: /* Move the mouse pointer to pixel position (X,Y) in FRAME. 1800 doc: /* Move the mouse pointer to pixel position (X,Y) in FRAME.
1801The position is given in pixels, where (0, 0) is the upper-left corner
1802of the frame, X is the horizontal offset, and Y is the vertical offset.
1803
1795Note, this is a no-op for an X frame that is not visible. 1804Note, this is a no-op for an X frame that is not visible.
1796If you have just created a frame, you must wait for it to become visible 1805If you have just created a frame, you must wait for it to become visible
1797before calling this function on it, like this. 1806before calling this function on it, like this.