diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-22 22:31:08 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-06-11 14:13:32 +0200 |
commit | 42727dadba813bc0c952e87abf67cf027c6a6256 (patch) | |
tree | 6561a99e450890ccf44780db4614f3f7ab09430a | |
parent | d00350fd0d301bb73f5e72d7e36ae8f6f698cecf (diff) |
drop obsolete check for HAS_DIXREGISTERPRIVATEKEY and HAS_DEVPRIVATEKEYREC
Since we're relying on xserver >= 1.18, we know its present.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
-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) |