When no mode is specified, don't validate mode-specific parameters.

This commit is contained in:
Keith Packard 2006-09-21 09:52:04 -07:00
parent 219546fd76
commit b36fde9257

View File

@ -564,6 +564,8 @@ ProcRRSetCrtcConfig (ClientPtr client)
goto sendReply;
}
if (mode)
{
/*
* Validate requested rotation
*/
@ -622,6 +624,7 @@ ProcRRSetCrtcConfig (ClientPtr client)
}
}
#endif
}
/*
* Make sure the requested set-time is not older than