open-src/driver/xf86-video-i810/6559710.patch
changeset 199 616975bd244f
parent 198 7cb95e4f130b
child 200 d5d560645136
equal deleted inserted replaced
198:7cb95e4f130b 199:616975bd244f
     1 --- src/i830_randr.c	Wed May 30 10:33:16 2007
       
     2 +++ src/i830_randr.c	Wed May 30 10:32:58 2007
       
     3 @@ -339,6 +339,12 @@
       
     4  	xfree (randrp);
       
     5  	return FALSE;
       
     6      }
       
     7 +
       
     8 +    if (i830RandRIndex == rrPrivIndex)
       
     9 +    {
       
    10 +	i830RandRIndex = AllocateScreenPrivateIndex();
       
    11 +    }
       
    12 +
       
    13      rp = rrGetScrPriv(pScreen);
       
    14      rp->rrGetInfo = I830RandRGetInfo;
       
    15      rp->rrSetConfig = I830RandRSetConfig;