EWMH proposal for _NET_WM_WINDOW_OPACITY

Lubos Lunak l.lunak at suse.cz
Fri Dec 19 12:47:36 EET 2003


 There's actually a dedicated list for the window manager spec, forwarding 
there.

On Thursday 18 of December 2003 20:02, Keith Packard wrote:
> 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.
>
> -keith
>
> --------
>
>     <sect2><title>_NET_WM_WINDOW_OPACITY</title>
>     <programlisting><![CDATA[
> _NET_WM_WINDOW_OPACITY, CARDINAL/32
> ]]></programlisting>
>         <para>
> 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.
>         </para>
>         <para>
> 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.
>         </para>
>         <para>
> Rationale:  This property allows applications to provide values for window
> opacity in place of any inferred value.
>         </para>
>     </sect2>
>
>
> _______________________________________________
> Xdg-list mailing list
> Xdg-list at freedesktop.org
> https://www.redhat.com/mailman/listinfo/xdg-list

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/



More information about the xdg mailing list