Device Properties Protocol Spec - Draft 1

Peter Hutterer peter.hutterer at who-t.net
Sun Sep 7 03:53:07 PDT 2008


On Sat, Sep 06, 2008 at 05:15:51PM -0700, Keith Packard wrote:
> On Sat, 2008-09-06 at 17:23 +0300, Daniel Stone wrote:
> 
> > Isn't this just PropModeReplace with nItems = 0?
> 
> Is there a difference between a property of length zero and an absent
> property?

nItems = 0 remove the content, but not the property itself, hence the need for
DeleteProperty. This is also the behaviour core has with window properties.

Cheers,
  Peter



More information about the xorg mailing list