aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-10-08 20:47:30 -0400
committerGlenn Morris2014-10-08 20:47:30 -0400
commit01058f734a96e6da949c200fb908f06ab8a74909 (patch)
tree86754bde01390f2e4078714e23eee32be7faec64 /doc
parent285dc437722044fe106f48d202607e4373d795ee (diff)
downloademacs-01058f734a96e6da949c200fb908f06ab8a74909.tar.gz
emacs-01058f734a96e6da949c200fb908f06ab8a74909.zip
Doc tweaks
* doc/lispref/frames.texi (Multiple Terminals): Copyedits. * lisp/frame.el (display-monitor-attributes-list): Doc tweaks. * nt/README.W32, src/ChangeLog.10, src/w32term.c: Standardize on "taskbar" rather than "task bar", since that is what most references seem to use; e.g. http://en.wikipedia.org/wiki/Taskbar http://windows.microsoft.com/en-us/windows7/products/features/windows-taskbar
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/frames.texi28
2 files changed, 21 insertions, 11 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 36497470705..2ebd1bc9e52 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12014-10-09 Glenn Morris <rgm@gnu.org>
2
3 * frames.texi (Multiple Terminals): Copyedits.
4
12014-10-08 Eli Zaretskii <eliz@gnu.org> 52014-10-08 Eli Zaretskii <eliz@gnu.org>
2 6
3 * frames.texi (Multiple Terminals): Improve the description of X 7 * frames.texi (Multiple Terminals): Improve the description of X
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 97c7b4b0505..78679b877e4 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -356,12 +356,14 @@ that, if the monitor is not the primary monitor, some of the
356coordinates might be negative. 356coordinates might be negative.
357 357
358@item workarea 358@item workarea
359Position of the top-left corner and size of the work area in pixels as 359Position of the top-left corner and size of the work area (``usable''
360@samp{(@var{x} @var{y} @var{width} @var{height})}. This is different 360space) in pixels as @samp{(@var{x} @var{y} @var{width} @var{height})}.
361from @samp{geometry} in that the various system windows, such as the 361This may be different from @samp{geometry} in that space occupied by
362task bar and side bar, are excluded from the work area. Note that, if 362various window manager features (docks, taskbars, etc.) may be
363the monitor is not the primary monitor, some of the coordinates might 363excluded from the work area. Whether or not such features actually
364be negative. 364subtract from the work area depends on the platform and environment.
365Again, if the monitor is not the primary monitor, some of the
366coordinates might be negative.
365 367
366@item mm-size 368@item mm-size
367Width and height in millimeters as @samp{(@var{width} @var{height})} 369Width and height in millimeters as @samp{(@var{width} @var{height})}
@@ -371,10 +373,14 @@ List of frames that this physical monitor dominates (see below).
371 373
372@item name 374@item name
373Name of the physical monitor as @var{string}. 375Name of the physical monitor as @var{string}.
376
377@item source
378Source of the multi-monitor information as @var{string};
379e.g., @samp{XRandr} or @samp{Xinerama}.
374@end table 380@end table
375 381
376@var{x}, @var{y}, @var{width}, and @var{height} are integers. 382@var{x}, @var{y}, @var{width}, and @var{height} are integers.
377@samp{name} may not be present. 383@samp{name} and @samp{source} may be absent.
378 384
379A frame is @dfn{dominated} by a physical monitor when either the 385A frame is @dfn{dominated} by a physical monitor when either the
380largest area of the frame resides in that monitor, or (if the frame 386largest area of the frame resides in that monitor, or (if the frame
@@ -389,14 +395,14 @@ display:
389@smalllisp 395@smalllisp
390 (display-monitor-attributes-list) 396 (display-monitor-attributes-list)
391 @result{} 397 @result{}
392 (((geometry 0 0 1920 1080) ;; Left hand monitor 398 (((geometry 0 0 1920 1080) ;; @r{Left-hand, primary monitor}
393 (workarea 0 0 1920 1050) ;; Bottom of screen used for task bar 399 (workarea 0 0 1920 1050) ;; @r{A taskbar occupies some of the height}
394 (mm-size 677 381) 400 (mm-size 677 381)
395 (name . "\\\\.\\DISPLAY1") 401 (name . "\\\\.\\DISPLAY1")
396 (frames #<frame emacs@@host *foo* 0000000005BBDC48> 402 (frames #<frame emacs@@host *foo* 0000000005BBDC48>
397 #<frame emacs@@host *scratch* 000000008179D370>)) 403 #<frame emacs@@host *scratch* 000000008179D370>))
398 ((geometry 1920 0 1680 1050) ;; Right hand monitor 404 ((geometry 1920 0 1680 1050) ;; @r{Right-hand monitor}
399 (workarea 1920 0 1680 1050) ;; Whole screen can be used 405 (workarea 1920 0 1680 1050) ;; @r{Whole screen can be used}
400 (mm-size 593 370) 406 (mm-size 593 370)
401 (name . "\\\\.\\DISPLAY2") 407 (name . "\\\\.\\DISPLAY2")
402 (frames))) 408 (frames)))