Is there a chance to set an alpha-mask using XOrg?

Peter Harris pharris at opentext.com
Fri Jun 5 10:41:53 PDT 2009


Leif Bergerhoff wrote:
> 
> My intention is to draw a transparent image on a XScreen.
> How can I do this the best way?

It depends on your toolkit. If you're not using any particular toolkit,
the easiest way is to set _NET_WM_WINDOW_OPACITY on your window. See
http://webcvs.freedesktop.org/xapps/transset/transSet.c?view=markup for
an example.

Make sure a composite manager is running (many desktops run one by
default these days).

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://www.opentext.com/connectivity
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866



More information about the xorg mailing list