On Sun, Nov 22, 2009 at 05:57:25PM -0800, Keith Packard wrote: > On Mon, 23 Nov 2009 10:35:56 +1000, Peter Hutterer <[email protected]> > wrote: > > > + if (!prop) > > + return BadAtom; > > + > > Given that both callers convert BadAtom into Success, is there some > reason not to just return Success here?
XIDeleteDeviceProperty can be called from other places (e.g. ptr acceleration or a driver). For those it may be useful to know that the property to be deleted did not exist on the device. Right now it isn't, though I do have a patch here that calls it for ptraccel cleanup. Cheers, Peter _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
