diff options
| author | Glenn Morris | 2008-06-04 07:08:45 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-04 07:08:45 +0000 |
| commit | 55f9bad5bd33e83504e2e1c4352076f19e297db4 (patch) | |
| tree | 6372e926101aa5a17de2d07dd78910df29cb3db8 | |
| parent | 42c27c2a24f74e02dc040f278fa73ccddf811015 (diff) | |
| download | emacs-55f9bad5bd33e83504e2e1c4352076f19e297db4.tar.gz emacs-55f9bad5bd33e83504e2e1c4352076f19e297db4.zip | |
alpha frame parameter details from Seiji Zenitani <zenitani at mac.com>.
| -rw-r--r-- | etc/NEWS | 22 |
1 files changed, 18 insertions, 4 deletions
| @@ -121,10 +121,24 @@ You can embed Emacs in another application on X11. The new command line option | |||
| 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. |