Mercurial > emacs
comparison etc/NEWS @ 95529:48aeb7d8e750
alpha frame parameter details from Seiji Zenitani <zenitani at mac.com>.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 04 Jun 2008 07:08:45 +0000 |
parents | 8a703a3c84d7 |
children | 8132494e3e26 |
comparison
equal
deleted
inserted
replaced
95528:40ef1e044cad | 95529:48aeb7d8e750 |
---|---|
119 You can embed Emacs in another application on X11. The new command line option | 119 You can embed Emacs in another application on X11. The new command line option |
120 --parent-id is used to pass the parent window id to Emacs. See | 120 --parent-id is used to pass the parent window id to Emacs. See |
121 http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html | 121 http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html |
122 for details about XEmbed. | 122 for details about XEmbed. |
123 | 123 |
124 FIXME | 124 ** Controlling the frame opacity |
125 ** There is a new frame parameter, alpha. | 125 The opacity of a frame can now be controlled by setting the `alpha' |
126 This [does something] on [some kind of system] with [some kind of X | 126 frame parameter, on an X Window system with the composite extension. |
127 server] and [some kind of window manager]. | 127 |
128 The alpha parameter should be an integer between 0 (transparent) and | |
129 100 (opaque) or a float number between 0.0 and 1.0. Optionally, the | |
130 opacity can be set by a cons cell; the first item controls the | |
131 opacity of an active frame, and the second item controls that of | |
132 non-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 | |
139 Note 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 | |
141 control 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. |
130 Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. | 144 Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. |
131 The Emacs 22 icon is available as `emacs22.png' in the same location. | 145 The Emacs 22 icon is available as `emacs22.png' in the same location. |
132 | 146 |