[RFC][PATCH] dix: Skip PropertyNotify events if the property value didn't change
Peter Harris
pharris at opentext.com
Mon Sep 20 08:56:27 PDT 2010
On 2010-09-20 11:35, ville.syrjala at nokia.com wrote:
> I'm not sure if this kind of optimization is always legal or if some
> specification says that the event must be sent even if the value doesn't
> change. Hence the RFC.
Unfortunately, the spec explicitly says that PropertyNotify is sent
"...even when adding zero-length data using ChangeProperty and when
replacing all or part of a property with identical data..."
http://cgit.freedesktop.org/xorg/proto/xproto/tree/specs/sect1-9.xml#n14373
Peter Harris
--
Open Text Connectivity Solutions Group
Peter Harris http://connectivity.opentext.com/
Research and Development Phone: +1 905 762 6001
pharris at opentext.com Toll Free: 1 877 359 4866
More information about the xorg-devel
mailing list