Hello, all.
Having executed a piece of code listed below, I get a green window (as a result
of calling XCreateSimpleWindow()) and a black rectangle on top of it
(XRenderFillRectangle()). I still get just black, whatever color I set in the
'col' structure.
XRenderFindVisualFormat() points to
Alexei Babich wrote:
Hello, all.
Having executed a piece of code listed below, I get a green window (as a
result of calling XCreateSimpleWindow()) and a black rectangle on top of it
(XRenderFillRectangle()). I still get just black, whatever color I set in the
'col' structure.
XRender uses 16-bit colors.
Oh, I read the documentation inattentively. Silly mistake. Thank you.
Also, unless there is
a specific reason to use XRender directly, I would recommend using the
higher-level cairo library instead.
Thank you. I believe the use of XRender more appropriate for my