aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/frames.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/frames.texi')
-rw-r--r--lispref/frames.texi33
1 files changed, 25 insertions, 8 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index 32f9e071f09..527f27385f3 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -150,6 +150,13 @@ screens belonging to one server, Emacs knows by the similarity in their
150names that they share a single keyboard, and it treats them as a single 150names that they share a single keyboard, and it treats them as a single
151terminal. 151terminal.
152 152
153 Note that some graphical terminals can output to more than a one
154monitor (or other output device) at the same time. On these
155``multi-monitor'' setups, a single @var{display} value controls the
156output to all the physical monitors. In this situation, there is
157currently no platform-independent way for Emacs to distinguish between
158the different physical monitors.
159
153@deffn Command make-frame-on-display display &optional parameters 160@deffn Command make-frame-on-display display &optional parameters
154This creates and returns a new frame on display @var{display}, taking 161This creates and returns a new frame on display @var{display}, taking
155the other frame parameters from @var{parameters}. Aside from the 162the other frame parameters from @var{parameters}. Aside from the
@@ -193,6 +200,7 @@ that display (@pxref{Deleting Frames}).
193 200
194@node Frame Parameters 201@node Frame Parameters
195@section Frame Parameters 202@section Frame Parameters
203@cindex frame parameters
196 204
197 A frame has many parameters that control its appearance and behavior. 205 A frame has many parameters that control its appearance and behavior.
198Just what parameters a frame has depends on what display mechanism it 206Just what parameters a frame has depends on what display mechanism it
@@ -555,6 +563,7 @@ If non-@code{nil}, this frame's window is never split automatically.
555 563
556@node Management Parameters 564@node Management Parameters
557@subsubsection Window Management Parameters 565@subsubsection Window Management Parameters
566@cindex window manager, and frame parameters
558 567
559 These frame parameters, meaningful only on window system displays, 568 These frame parameters, meaningful only on window system displays,
560interact with the window manager. 569interact with the window manager.
@@ -885,6 +894,7 @@ Here is an example:
885 894
886@node Frame Titles 895@node Frame Titles
887@section Frame Titles 896@section Frame Titles
897@cindex frame title
888 898
889 Every frame has a @code{name} parameter; this serves as the default 899 Every frame has a @code{name} parameter; this serves as the default
890for the frame title which window systems typically display at the top of 900for the frame title which window systems typically display at the top of
@@ -924,7 +934,7 @@ while processing @code{frame-title-format} or
924 934
925@node Deleting Frames 935@node Deleting Frames
926@section Deleting Frames 936@section Deleting Frames
927@cindex deletion of frames 937@cindex deleting frames
928 938
929Frames remain potentially visible until you explicitly @dfn{delete} 939Frames remain potentially visible until you explicitly @dfn{delete}
930them. A deleted frame cannot appear on the screen, but continues to 940them. A deleted frame cannot appear on the screen, but continues to
@@ -956,6 +966,7 @@ calls the function @code{delete-frame}. @xref{Misc Events}.
956 966
957@node Finding All Frames 967@node Finding All Frames
958@section Finding All Frames 968@section Finding All Frames
969@cindex frames, scanning all
959 970
960@defun frame-list 971@defun frame-list
961The function @code{frame-list} returns a list of all the frames that 972The function @code{frame-list} returns a list of all the frames that
@@ -1077,7 +1088,7 @@ Displays}.
1077@node Input Focus 1088@node Input Focus
1078@section Input Focus 1089@section Input Focus
1079@cindex input focus 1090@cindex input focus
1080@cindex selected frame 1091@c @cindex selected frame Duplicates selected-frame
1081 1092
1082At any time, one frame in Emacs is the @dfn{selected frame}. The selected 1093At any time, one frame in Emacs is the @dfn{selected frame}. The selected
1083window always resides on the selected frame. 1094window always resides on the selected frame.
@@ -1260,7 +1271,7 @@ to ``lowest.'' Where two windows overlap, the one higher up covers
1260the one underneath. Even a window at the bottom of the stack can be 1271the one underneath. Even a window at the bottom of the stack can be
1261seen if no other window overlaps it. 1272seen if no other window overlaps it.
1262 1273
1263@cindex raising a frame 1274@c @cindex raising a frame redundant with raise-frame
1264@cindex lowering a frame 1275@cindex lowering a frame
1265 A window's place in this ordering is not fixed; in fact, users tend 1276 A window's place in this ordering is not fixed; in fact, users tend
1266to change the order frequently. @dfn{Raising} a window means moving 1277to change the order frequently. @dfn{Raising} a window means moving
@@ -1315,14 +1326,14 @@ unwanted frames are iconified instead.
1315@node Mouse Tracking 1326@node Mouse Tracking
1316@section Mouse Tracking 1327@section Mouse Tracking
1317@cindex mouse tracking 1328@cindex mouse tracking
1318@cindex tracking the mouse 1329@c @cindex tracking the mouse Duplicates track-mouse
1319 1330
1320Sometimes it is useful to @dfn{track} the mouse, which means to display 1331 Sometimes it is useful to @dfn{track} the mouse, which means to display
1321something to indicate where the mouse is and move the indicator as the 1332something to indicate where the mouse is and move the indicator as the
1322mouse moves. For efficient mouse tracking, you need a way to wait until 1333mouse moves. For efficient mouse tracking, you need a way to wait until
1323the mouse actually moves. 1334the mouse actually moves.
1324 1335
1325The convenient way to track the mouse is to ask for events to represent 1336 The convenient way to track the mouse is to ask for events to represent
1326mouse motion. Then you can wait for motion by waiting for an event. In 1337mouse motion. Then you can wait for motion by waiting for an event. In
1327addition, you can easily handle any other sorts of events that may 1338addition, you can easily handle any other sorts of events that may
1328occur. That is useful, because normally you don't want to track the 1339occur. That is useful, because normally you don't want to track the
@@ -2015,8 +2026,6 @@ a mouse.
2015@end defun 2026@end defun
2016 2027
2017@defun display-graphic-p &optional display 2028@defun display-graphic-p &optional display
2018@cindex frames, more than one on display
2019@cindex fonts, more than one on display
2020This function returns @code{t} if @var{display} is a graphic display 2029This function returns @code{t} if @var{display} is a graphic display
2021capable of displaying several frames and several different fonts at 2030capable of displaying several frames and several different fonts at
2022once. This is true for displays that use a window system such as X, and 2031once. This is true for displays that use a window system such as X, and
@@ -2087,11 +2096,19 @@ This function returns the number of screens associated with the display.
2087@defun display-pixel-height &optional display 2096@defun display-pixel-height &optional display
2088This function returns the height of the screen in pixels. 2097This function returns the height of the screen in pixels.
2089On a character terminal, it gives the height in characters. 2098On a character terminal, it gives the height in characters.
2099
2100For graphical terminals, note that on ``multi-monitor'' setups this
2101refers to the pixel width for all physical monitors associated with
2102@var{display}. @xref{Multiple Displays}.
2090@end defun 2103@end defun
2091 2104
2092@defun display-pixel-width &optional display 2105@defun display-pixel-width &optional display
2093This function returns the width of the screen in pixels. 2106This function returns the width of the screen in pixels.
2094On a character terminal, it gives the width in characters. 2107On a character terminal, it gives the width in characters.
2108
2109For graphical terminals, note that on ``multi-monitor'' setups this
2110refers to the pixel width for all physical monitors associated with
2111@var{display}. @xref{Multiple Displays}.
2095@end defun 2112@end defun
2096 2113
2097@defun display-mm-height &optional display 2114@defun display-mm-height &optional display