#! /bin/sh /usr/share/dpatch/dpatch-run ## 03randrcorrectversion.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad xserver-xgl-1.1.99.1~git20080115~a~/randr/randr.c xserver-xgl-1.1.99.1~git20080115~a/randr/randr.c --- xserver-xgl-1.1.99.1~git20080115~a~/randr/randr.c 2008-04-28 11:12:34.000000000 -0400 +++ xserver-xgl-1.1.99.1~git20080115~a/randr/randr.c 2008-04-28 11:21:22.000000000 -0400 @@ -57,6 +57,10 @@ #endif #define RR_VALIDATE + +#define SERVER_RANDR_MAJOR 1 +#define SERVER_RANDR_MINOR 1 + int RRGeneration; int RRNScreens; @@ -473,8 +477,8 @@ rep.type = X_Reply; rep.length = 0; rep.sequenceNumber = client->sequence; - rep.majorVersion = RANDR_MAJOR; - rep.minorVersion = RANDR_MINOR; + rep.majorVersion = SERVER_RANDR_MAJOR; + rep.minorVersion = SERVER_RANDR_MINOR; if (client->swapped) { swaps(&rep.sequenceNumber, n); swapl(&rep.length, n);