Add refresh rates to RandR (v1.1)

This commit is contained in:
Keith Packard 2002-10-14 18:01:42 +00:00
commit e1c304e22b
9 changed files with 410 additions and 407 deletions

View file

@ -444,7 +444,7 @@ fbdevRandRGetInfo (ScreenPtr pScreen, Rotation *rotations)
randr = KdSubRotation (scrpriv->randr, screen->randr);
RRSetCurrentConfig (pScreen, randr, pSize);
RRSetCurrentConfig (pScreen, randr, 0, pSize);
return TRUE;
}
@ -474,6 +474,7 @@ fbdevLayerRemove (WindowPtr pWin, pointer value)
fbdevRandRSetConfig (ScreenPtr pScreen,
Rotation randr,
int rate,
RRScreenSizePtr pSize)
{
KdScreenPriv(pScreen);