is_composited


Description:

public bool is_composited ()

Returns whether surfaces can reasonably be expected to have their alpha channel drawn correctly on the screen.

Check is_rgba for whether the display supports an alpha channel.

On X11 this function returns whether a compositing manager is compositing on this.

On modern displays, this value is always true.

Parameters:

this

a Display

Returns:

Whether surfaces with RGBA visuals can reasonably be expected to have their alpha channels drawn correctly on the screen.