xfree86: xf86.h: drop unused xf86GetRotation()

Not used anywhere, so no need to keep it anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 19:26:51 +02:00
parent 585025c395
commit 643b707f2f
2 changed files with 0 additions and 11 deletions

View File

@ -324,8 +324,6 @@ xf86CollectOptions(ScrnInfoPtr pScrn, XF86OptionPtr extraOpts);
#ifdef RANDR #ifdef RANDR
extern _X_EXPORT Bool extern _X_EXPORT Bool
xf86RandRInit(ScreenPtr pScreen); xf86RandRInit(ScreenPtr pScreen);
extern _X_EXPORT Rotation
xf86GetRotation(ScreenPtr pScreen);
extern _X_EXPORT Bool extern _X_EXPORT Bool
xf86RandRSetNewVirtualAndDimensions(ScreenPtr pScreen, xf86RandRSetNewVirtualAndDimensions(ScreenPtr pScreen,
int newvirtX, int newvirtY, int newvirtX, int newvirtY,

View File

@ -359,15 +359,6 @@ static void xf86RandRCloseScreen(CallbackListPtr *pcbl,
dixSetPrivate(&pScreen->devPrivates, xf86RandRKey, NULL); dixSetPrivate(&pScreen->devPrivates, xf86RandRKey, NULL);
} }
Rotation
xf86GetRotation(ScreenPtr pScreen)
{
if (xf86RandRKey == NULL)
return RR_Rotate_0;
return XF86RANDRINFO(pScreen)->rotation;
}
/* Function to change RandR's idea of the virtual screen size */ /* Function to change RandR's idea of the virtual screen size */
Bool Bool
xf86RandRSetNewVirtualAndDimensions(ScreenPtr pScreen, xf86RandRSetNewVirtualAndDimensions(ScreenPtr pScreen,