On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes <[email protected]> 
wrote:
> If a pixmap header is modified or the drawable serial changes, some
> aspects of the drawable are likely to have changed so we should
> re-allocate the corresponding DRI2 drawable in that case.  This is one
> way of catching when the root window pixmap changes through xrandr.

The serial number changes whenever the cliplist changes for the window,
which is probably a lot more often than you want to do this
operation. What are you trying to detect? Changes in the pixmap?
Wrapping SetWindowPixmap would give you that.

-- 
[email protected]

Attachment: pgp5GBv1L1FQo.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to