[PATCH] Port cursorScreenDevPriv to the new dixPrivate API

Tomas Carnecky tom at dbservice.com
Mon Dec 29 16:59:07 PST 2008


This was somehow missed when I ported all the DevPrivateKey
variables in the source tree. Maybe because it didn't use the
proper DevPrivateKey but rather hardcoded the type, so grep din't
find it. And I can see why the type was hardcoded: because it's
not possible to include privates.h in the file: privates.h depends
on dix.h which depends on cursor.h which needs the definition from
privates.h.

This patch is a) ugly and b) breaks API. So beware of that when
you merge it.
---

Could you try if this patch helps? Maybe someone can in the meantime 
come up with a better idea how to untangle the headers.

  dix/globals.c    |    3 ++-
  include/cursor.h |    5 ++++-
  2 files changed, 6 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cb03e749878d2051db610a37b9e622344889b9d3.diff
Type: text/x-patch
Size: 1071 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081230/c21cd35a/attachment.bin>


More information about the xorg mailing list