[PATCH-v2] dix: move cursor realize code to its own function

Keith Packard keithp at keithp.com
Thu Jan 14 11:32:38 PST 2010

On Thu, 14 Jan 2010 20:26:44 +0200, Tiago Vignatti <tiago.vignatti at nokia.com> wrote:

> I applied keithp suggestion, documented the new function and changed the
> return values of such function. BTW, I didn't find a better return to error
> return there than simply "!Success". Sounds good-ish?

No, you'll need to return a 'real' error; I think we'll have to assume
that the failure is due to allocation error (of some form), so just
return BadAlloc.

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/20100114/acc13cf4/attachment.pgp 

More information about the xorg-devel mailing list