RandR protocol.txt

Jeremy Kolb jkolb at brandeis.edu
Tue Mar 1 21:14:29 PST 2005


Jeremy Kolb wrote:
> While adding RandR support to XCB I found the docs a bit confusing and 
> some off stuff going on with refresh rates.  I think this makes it a 
> little clearer.  I might (probably) am totally wrong here.
> 
> Jeremy
> 
> Index: protocol.txt
> ===================================================================
> RCS file: /cvs/xorg/xc/doc/specs/Randr/protocol.txt,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 protocol.txt
> --- protocol.txt        14 Nov 2003 16:48:22 -0000      1.1.1.1
> +++ protocol.txt        2 Mar 2005 05:08:40 -0000
> @@ -238,6 +238,7 @@
>                   widthInMillimeters, heightInMillimeters: CARD16 }
> 
>         REFRESH {
> +               nRates: CARD16
>                 rates: LISTofCARD16
>         }
> 
> @@ -476,7 +477,7 @@
>         2       SIZEID                  sizeID
>         2       ROTATION                current rotation and reflection
>         2       CARD16                  rate (1.1)
> -       2       CARD16                  length of rate info (number of 
> CARD16s)
> +       2       CARD16                  length of rate info (number of 
> CARD16s) + sizeID
>         2       CARD16                  pad
> 
>         SIZE
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg

Oops, that should be + number of sizes, not + sizeID.

Jeremy



More information about the xorg mailing list