XSetBackgroundPixmap question

Keith Packard keithp at keithp.com
Sat May 19 20:30:39 PDT 2012

Glynn Clements <glynn at gclements.plus.com> writes:

> That seems to imply that the X server makes a copy of the pixmap data
> rather than keeping a reference to the original pixmap. However, I
> don't believe that's how the X.org server actually implements it.

No, it keeps a reference, but not through the Pixmap ID, so while the
client can destroy the ID, the server holds a reference to the
underlying Pixmap structure itself. No copy is made.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20120519/c1b98b1b/attachment.pgp>

More information about the xorg mailing list