[RFC][PATCH] dix: Skip PropertyNotify events if the property value didn't change
Keith Packard
keith.packard at intel.com
Mon Sep 20 08:47:59 PDT 2010
On Mon, 20 Sep 2010 08:35:11 -0700, "ville.syrjala at nokia.com" <ville.syrjala at nokia.com> wrote:
> From: Ville Syrjälä <ville.syrjala at nokia.com>
>
> Avoid sending PropertyNotify events with the same value in case the
> value didn't actually change. Avoids waking up the clients needlessly.
getting timestamps fr
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at nokia.com>
> ---
> 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.
Nope, any ChangeProperty request is required to generate a PropetyNotify
event.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100920/c7e8aa52/attachment.pgp>
More information about the xorg-devel
mailing list