Peter Hutterer wrote: > Right, I can see your point. How about the patch below (untested)? It's on top > of the other patches and adds a DeleteProperty handler, and a deletable flag. Looks good.
> If deletable is FALSE, the prop can only be deleted by the server/a driver, > and even then only if all handlers agree. That's a bit stricter than what I was looking for. If I want to delete a prop in-server, I'd like be able to avoid asking handlers (as I was before). Otherwise, I'm still forced to implement a delete handler for the sole purpose of giving up the veto at some time. Essentially I need a parallel channel to delete my own props. Boils down to dumping > - if (fromClient && device->properties.handlers) > + if (device->properties.handlers) that part. And maybe rename fromClient to checkHandlers or deletable to clientDeletable, whatever. IOW: If deletable is FALSE and fromClient is TRUE, handlers have to agree. Admittedly weaker, but maybe the more practical semantics. Cheers, Simon _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg