difference between XFillRectangles() and xcb_poly_fill_rectangle()

Enrico Weigelt, metux IT consult info at metux.net
Thu Aug 1 18:36:52 UTC 2024


Hi folks,

while trying to port Xnest to xcb, I've encountered a strange problem
when replacing XFillRectangles() by xcb_poly_fill_rectangle():

suddenly backgrounds aren't filled properly anymore. It gets better when
using an own handler for ClearArea request (which passes it directly
to the upstream Xserver), but still many other things (eg. gtk menus)
sometimes getting wrong background color.

Is there something subtle in here that I've overseen ?
(something XGC's internal state maybe ?)

thx
--mtx

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info at metux.net -- +49-151-27565287


More information about the xorg-devel mailing list