Customize option tooltip-frame-parameters
, specifying an alpha
parameter value that is less than 100.
See the Elisp manual, node Font and Color Parameters, for information about parameter alpha
. There, you see this:
This parameter specifies the opacity of the frame, on graphical
displays that support variable opacity. It should be an integer
between 0 and 100, where 0 means completely transparent and 100
means completely opaque. It can also have a nil
value, which
tells Emacs not to set the frame opacity (leaving it to the window
manager).
To prevent the frame from disappearing completely from view, the
variable frame-alpha-lower-limit
defines a lower opacity limit.
If the value of the frame parameter is less than the value of this
variable, Emacs uses the latter. By default,
frame-alpha-lower-limit
is 20.
The alpha
frame parameter can also be a cons cell (ACTIVE . INACTIVE)
, where ACTIVE
is the opacity of the frame when it is
selected, and INACTIVE
is the opacity when it is not selected.
Some window systems do not support the alpha
parameter for child
frames (see Child Frames).