The soon-to-be-attached program demonstrates that damage is not created for a pixmap that was created with XCompositeNameWindowPixmap() when things are drawn the corresponding window. This is wrong in my opinion as the drawable really does change even if the painting is actually done on a different drawable.
Created attachment 4475 [details] The program
Hmm, it seems I was too quick. The program does actually generate damage events, but they arrive with the drawable fields set to '0', not to the ID of the pixmap.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Just need to save the drawable ID used to do the lookup and report that back in the damage events.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.