summaryrefslogtreecommitdiff
path: root/Xext/panoramiXprocs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/panoramiXprocs.c')
-rw-r--r--Xext/panoramiXprocs.c30
1 files changed, 13 insertions, 17 deletions
diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c
index 47362df4d..a1816958f 100644
--- a/Xext/panoramiXprocs.c
+++ b/Xext/panoramiXprocs.c
@@ -572,7 +572,7 @@ int PanoramiXGetGeometry(ClientPtr client)
}
WriteReplyToClient(client, sizeof(xGetGeometryReply), &rep);
- return (client->noClientException);
+ return Success;
}
int PanoramiXTranslateCoords(ClientPtr client)
@@ -642,7 +642,7 @@ int PanoramiXTranslateCoords(ClientPtr client)
}
WriteReplyToClient(client, sizeof(xTranslateCoordsReply), &rep);
- return(client->noClientException);
+ return Success;
}
int PanoramiXCreatePixmap(ClientPtr client)
@@ -1081,8 +1081,6 @@ int PanoramiXCopyArea(ClientPtr client)
}
free(data);
-
- result = Success;
} else {
DrawablePtr pDst = NULL, pSrc = NULL;
GCPtr pGC = NULL;
@@ -1150,11 +1148,9 @@ int PanoramiXCopyArea(ClientPtr client)
client, &totalReg, stuff->dstDrawable, X_CopyArea, 0);
REGION_UNINIT(pScreen, &totalReg);
}
-
- result = client->noClientException;
}
- return (result);
+ return Success;
}
@@ -1264,7 +1260,7 @@ int PanoramiXCopyPlane(ClientPtr client)
REGION_UNINIT(pScreen, &totalReg);
}
- return (client->noClientException);
+ return Success;
}
@@ -1324,7 +1320,7 @@ int PanoramiXPolyPoint(ClientPtr client)
free(origPts);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1384,7 +1380,7 @@ int PanoramiXPolyLine(ClientPtr client)
free(origPts);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1447,7 +1443,7 @@ int PanoramiXPolySegment(ClientPtr client)
free(origSegs);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1509,7 +1505,7 @@ int PanoramiXPolyRectangle(ClientPtr client)
free(origRecs);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1569,7 +1565,7 @@ int PanoramiXPolyArc(ClientPtr client)
free(origArcs);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1630,7 +1626,7 @@ int PanoramiXFillPoly(ClientPtr client)
free(locPts);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1691,7 +1687,7 @@ int PanoramiXPolyFillRectangle(ClientPtr client)
free(origRects);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1752,7 +1748,7 @@ int PanoramiXPolyFillArc(ClientPtr client)
free(origArcs);
return (result);
} else
- return (client->noClientException);
+ return Success;
}
@@ -1947,7 +1943,7 @@ int PanoramiXGetImage(ClientPtr client)
}
}
free(pBuf);
- return (client->noClientException);
+ return Success;
}