mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-05 22:46:06 +00:00
Merge remote-tracking branch 'ajax/server-1.14-abi-churn'
This commit is contained in:
commit
4dd5989d15
18 changed files with 81 additions and 86 deletions
|
|
@ -2095,7 +2095,7 @@ ProcXDGADispatch(ClientPtr client)
|
|||
{
|
||||
REQUEST(xReq);
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return DGAErrorBase + XF86DGAClientNotLocal;
|
||||
|
||||
#ifdef DGA_REQ_DEBUG
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ typedef enum {
|
|||
* mask is 0xFFFF0000.
|
||||
*/
|
||||
#define ABI_ANSIC_VERSION SET_ABI_VERSION(0, 4)
|
||||
#define ABI_VIDEODRV_VERSION SET_ABI_VERSION(13, 0)
|
||||
#define ABI_VIDEODRV_VERSION SET_ABI_VERSION(14, 0)
|
||||
#define ABI_XINPUT_VERSION SET_ABI_VERSION(18, 0)
|
||||
#define ABI_EXTENSION_VERSION SET_ABI_VERSION(7, 0)
|
||||
#define ABI_FONT_VERSION SET_ABI_VERSION(0, 6)
|
||||
|
|
|
|||
|
|
@ -1590,7 +1590,7 @@ ProcXF86VidModeGetPermissions(ClientPtr client)
|
|||
return BadValue;
|
||||
|
||||
if (xf86GetVidModeEnabled() &&
|
||||
(xf86GetVidModeAllowNonLocal() || LocalClient(client))) {
|
||||
(xf86GetVidModeAllowNonLocal() || client->local)) {
|
||||
rep.permissions |= XF86VM_WRITE_PERMISSION;
|
||||
}
|
||||
if (client->swapped) {
|
||||
|
|
@ -1659,7 +1659,7 @@ ProcXF86VidModeDispatch(ClientPtr client)
|
|||
default:
|
||||
if (!xf86GetVidModeEnabled())
|
||||
return VidModeErrorBase + XF86VidModeExtensionDisabled;
|
||||
if (xf86GetVidModeAllowNonLocal() || LocalClient(client)) {
|
||||
if (xf86GetVidModeAllowNonLocal() || client->local) {
|
||||
switch (stuff->data) {
|
||||
case X_XF86VidModeAddModeLine:
|
||||
return ProcXF86VidModeAddModeLine(client);
|
||||
|
|
@ -2083,7 +2083,7 @@ SProcXF86VidModeDispatch(ClientPtr client)
|
|||
default:
|
||||
if (!xf86GetVidModeEnabled())
|
||||
return VidModeErrorBase + XF86VidModeExtensionDisabled;
|
||||
if (xf86GetVidModeAllowNonLocal() || LocalClient(client)) {
|
||||
if (xf86GetVidModeAllowNonLocal() || client->local) {
|
||||
switch (stuff->data) {
|
||||
case X_XF86VidModeAddModeLine:
|
||||
return SProcXF86VidModeAddModeLine(client);
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ ProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client)
|
|||
return BadValue;
|
||||
}
|
||||
|
||||
if (!LocalClient(client) || client->swapped)
|
||||
if (!client->local || client->swapped)
|
||||
isCapable = 0;
|
||||
|
||||
rep = (xXF86DRIQueryDirectRenderingCapableReply) {
|
||||
|
|
@ -528,7 +528,7 @@ ProcXF86DRIDispatch(register ClientPtr client)
|
|||
return ProcXF86DRIQueryDirectRenderingCapable(client);
|
||||
}
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return DRIErrorBase + XF86DRIClientNotLocal;
|
||||
|
||||
switch (stuff->data) {
|
||||
|
|
|
|||
|
|
@ -588,7 +588,7 @@ ProcDRI2Dispatch(ClientPtr client)
|
|||
return ProcDRI2QueryVersion(client);
|
||||
}
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return BadRequest;
|
||||
|
||||
switch (stuff->data) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue