Set the RandR version returned, rather than just passing the proto's version.
This commit is contained in:
parent
2fe74ef339
commit
3b71b0f89f
|
@ -22,6 +22,9 @@
|
||||||
|
|
||||||
#include "randrstr.h"
|
#include "randrstr.h"
|
||||||
|
|
||||||
|
#define SERVER_RANDR_MAJOR 1
|
||||||
|
#define SERVER_RANDR_MINOR 2
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
RRClientKnowsRates (ClientPtr pClient)
|
RRClientKnowsRates (ClientPtr pClient)
|
||||||
{
|
{
|
||||||
|
@ -49,8 +52,8 @@ ProcRRQueryVersion (ClientPtr client)
|
||||||
* Report the current version; the current
|
* Report the current version; the current
|
||||||
* spec says they're all compatible after 1.0
|
* spec says they're all compatible after 1.0
|
||||||
*/
|
*/
|
||||||
rep.majorVersion = RANDR_MAJOR;
|
rep.majorVersion = SERVER_RANDR_MAJOR;
|
||||||
rep.minorVersion = RANDR_MINOR;
|
rep.minorVersion = SERVER_RANDR_MINOR;
|
||||||
if (client->swapped) {
|
if (client->swapped) {
|
||||||
swaps(&rep.sequenceNumber, n);
|
swaps(&rep.sequenceNumber, n);
|
||||||
swapl(&rep.length, n);
|
swapl(&rep.length, n);
|
||||||
|
|
Loading…
Reference in New Issue