EWMH proposal for _NET_WM_WINDOW_OPACITY
keithp at keithp.com
Thu Dec 18 21:02:50 EET 2003
Lars Knoll has asked that a feature from Qt available on Windows and OSX
be available under X. In those systems, applications may set an overall
opacity value for their top level windows which the system uses to
modulate the window content as it is composited to the desktop. Please
find a proposal for a simple addition to the wm-spec.xml file. I've
implemented this in xcompmgr and transset, but without window manager
cooperation, applications won't be able to use this capability as it
requires reflecting any application window property value up to the frame
where the composting manager can see it.
This property indicates the desired opacity for this window with 0 being
transparent and 0xffffffff being opaque. Window managers acting as
compositing managers MAY take this into account when displaying a window.
Window managers MUST forward the value of this property to any enclosing
frame window. This property MAY change while the window is mapped and the
window manager MUST respect changes while the window is mapped.
This opacity value SHOULD be multiplied with the original window alpha value
(which is 1 for visuals not including an alpha component) so that the window
content is modulated by the opacity value.
Rationale: This property allows applications to provide values for window
opacity in place of any inferred value.
More information about the xdg