Ok, thank you for explanation, more words make it more clear for me :)
Oleg. On 12 Aug 2006 07:15:59 +0200, Soeren Sandmann <[EMAIL PROTECTED]> wrote:
"Oleg Sukhodolsky" <[EMAIL PROTECTED]> writes: > EWMH defines a _NET_WM_WINDOW_OPACITY hint to tell a composite manager to make > the window translucent. No it doesn't, and it would be a mistake to add it in my opinion. > Modern application require an alpha-mask to be set to make some > areas of the window fully transparent, others to be semi-transparent > and the rest to be fully opaque. So the questions: 1. Is or will be > there a standard way to set the opacity-mask by means of a hint? > 2. If there's no a composite manager running, or the composite > manager doesn't support the feature (like old and sweet xcompmgr :) > ), what is the right way to set such a mask? As Daniel said, the answer is to use an ARGB32 visual, which means requesting that the pixels in the window are 32 bits deep, with 8 of those bit being interpreted as an alpha value. Hence the name "ARGB32". Alpha, Red, Green, Blue - 32 bits. Soren
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
