Hi,
This message was sent before the last one?
(maybe Biff the dog ran off and buried it!)
Apologies if it now appears twice!
Some const GC funcs and ops were missed in rootless...
--- ./miext/rootless/save_rootlessGC.c 2014-01-13 08:09:28.124320860 +0000
+++ ./miext/rootless/rootlessGC.c 2014-01-13 18:31:27.668467154 +0000
@@ -403,7 +403,7 @@
#define GCOP_UNWRAP(pGC) \
RootlessGCRec *gcrec = (RootlessGCRec *) \
dixLookupPrivate(&(pGC)->devPrivates, rootlessGCPrivateKey); \
- GCFuncs *saveFuncs = pGC->funcs; \
+ const GCFuncs *saveFuncs = pGC->funcs; \
(pGC)->funcs = gcrec->originalFuncs; \
(pGC)->ops = gcrec->originalOps;
And
--- ./miext/rootless/save_rootlessCommon.h 2013-05-24
07:01:08.000000000 +0100
+++ ./miext/rootless/rootlessCommon.h 2014-01-13 15:37:06.933788427 +0000
@@ -70,8 +70,8 @@
// RootlessGCRec: private per-gc data
typedef struct {
- GCFuncs *originalFuncs;
- GCOps *originalOps;
+ const GCFuncs *originalFuncs;
+ const GCOps *originalOps;
} RootlessGCRec;
// RootlessScreenRec: per-screen private data
Thanks,
Colin Harrison
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel