diff options
-rw-r--r-- | src/gx_randr.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gx_randr.c b/src/gx_randr.c index c0ca3b9..e38da53 100644 --- a/src/gx_randr.c +++ b/src/gx_randr.c @@ -59,11 +59,7 @@ typedef struct _GXRandRInfo { Rotation supported_rotations; /* driver supported */ } XF86RandRInfoRec, *XF86RandRInfoPtr; -#if HAS_DEVPRIVATEKEYREC static DevPrivateKeyRec GXRandRIndex; -#else -static int GXRandRIndex; -#endif #define OLD_VIDEODRV_INTERFACE (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 4) @@ -350,10 +346,8 @@ GXRandRInit(ScreenPtr pScreen, int rotation) #if OLD_VIDEODRV_INTERFACE GXRandRIndex = AllocateScreenPrivateIndex(); #endif -#if HAS_DIXREGISTERPRIVATEKEY if (!dixRegisterPrivateKey(&GXRandRIndex, PRIVATE_SCREEN, 0)) return FALSE; -#endif pRandr = calloc(1, sizeof(XF86RandRInfoRec)); if (pRandr == NULL) |