aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-06-04 07:08:45 +0000
committerGlenn Morris2008-06-04 07:08:45 +0000
commit55f9bad5bd33e83504e2e1c4352076f19e297db4 (patch)
tree6372e926101aa5a17de2d07dd78910df29cb3db8
parent42c27c2a24f74e02dc040f278fa73ccddf811015 (diff)
downloademacs-55f9bad5bd33e83504e2e1c4352076f19e297db4.tar.gz
emacs-55f9bad5bd33e83504e2e1c4352076f19e297db4.zip
alpha frame parameter details from Seiji Zenitani <zenitani at mac.com>.
-rw-r--r--etc/NEWS22
1 files changed, 18 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a2bcb9718da..4a5c2dc88d2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -121,10 +121,24 @@ You can embed Emacs in another application on X11. The new command line option
121http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html 121http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html
122for details about XEmbed. 122for details about XEmbed.
123 123
124FIXME 124** Controlling the frame opacity
125** There is a new frame parameter, alpha. 125The opacity of a frame can now be controlled by setting the `alpha'
126This [does something] on [some kind of system] with [some kind of X 126frame parameter, on an X Window system with the composite extension.
127server] and [some kind of window manager]. 127
128The alpha parameter should be an integer between 0 (transparent) and
129100 (opaque) or a float number between 0.0 and 1.0. Optionally, the
130opacity can be set by a cons cell; the first item controls the
131opacity of an active frame, and the second item controls that of
132non-active frames.
133
134 (set-frame-parameter nil 'alpha 80)
135 (set-frame-parameter nil 'alpha 0.8)
136 (set-frame-parameter nil 'alpha '(100 70)) ; (<active> [<inactive>])
137 (set-frame-parameter nil 'alpha nil)
138
139Note that the threshold opacity of a frame is defined by the variable
140`frame-alpha-lower-limit' (default 20), so that the user may not lose
141control of the frame.
128 142
129** Emacs comes with a new set of default icons. 143** Emacs comes with a new set of default icons.
130Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. 144Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png.