mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 16:44:52 +00:00
Restore the global xx* symbols and add them to wfbrename.h.
I don't think they're ever used, but it's best to just leave them alone for ABI compatibility.
This commit is contained in:
@@ -143,10 +143,10 @@ typedef struct _xxGCPriv {
|
||||
(pGC)->devPrivates[xxGCPrivateIndex].ptr)
|
||||
#define xxGCPriv(pGC) xxGCPrivPtr pGCPriv = xxGetGCPriv(pGC)
|
||||
|
||||
static int xxScrPrivateIndex = -1;
|
||||
static int xxGCPrivateIndex;
|
||||
static int xxColormapPrivateIndex = -1;
|
||||
static int xxGeneration;
|
||||
int xxScrPrivateIndex = -1;
|
||||
int xxGCPrivateIndex;
|
||||
int xxColormapPrivateIndex = -1;
|
||||
int xxGeneration;
|
||||
|
||||
|
||||
#define wrap(priv,real,mem,func) {\
|
||||
@@ -1199,7 +1199,7 @@ xxSetup(ScreenPtr pScreen, int myDepth, int baseDepth, char* addr, xxSyncFunc sy
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static GCFuncs xxGCFuncs = {
|
||||
GCFuncs xxGCFuncs = {
|
||||
xxValidateGC, xxChangeGC, xxCopyGC, xxDestroyGC,
|
||||
xxChangeClip, xxDestroyClip, xxCopyClip
|
||||
};
|
||||
|
||||
@@ -187,6 +187,12 @@
|
||||
#define fbWinPrivateIndex wfbWinPrivateIndex
|
||||
#define fbZeroLine wfbZeroLine
|
||||
#define fbZeroSegment wfbZeroSegment
|
||||
#define xxScrPrivateIndex wfbxxScrPrivateIndex
|
||||
#define xxGCPrivateIndex wfbxxGCPrivateIndex
|
||||
#define xxColormapPrivateIndex wfbxxColormapPrivateIndex
|
||||
#define xxGeneration wfbxxGeneration
|
||||
#define xxPrintVisuals wfbxxPrintVisuals
|
||||
#define xxGCFuncs wfbxxGCFuncs
|
||||
#define xxGCOps wfbxxGCOps
|
||||
#define xxSetup wfbxxSetup
|
||||
#define composeFunctions wfbComposeFunctions
|
||||
|
||||
Reference in New Issue
Block a user