Wayland window transparency

Daniel Stone daniel at fooishbar.org
Wed Mar 12 03:21:46 PDT 2014


Hi,

On 11 March 2014 14:30, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> On X11 you are probably used to getting an opaque window, no matter
> what values you write to the alpha channel. On Wayland, the alpha
> channel is actually used by the server to blend your window to the rest
> of the desktop, always.

... always? You can request XRGB buffers in wl_shm, or an EGL config
without an alpha channel.  This will give you storage you can use for
alpha, but the compositor will discard it and render fully opaque.

Cheers,
Daniel


More information about the wayland-devel mailing list