summaryrefslogtreecommitdiff
path: root/hw/xquartz
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz')
-rw-r--r--hw/xquartz/applewm.c26
-rw-r--r--hw/xquartz/pseudoramiX.c10
-rw-r--r--hw/xquartz/xpr/appledri.c14
3 files changed, 25 insertions, 25 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c
index 8750f5d00..53d167e5b 100644
--- a/hw/xquartz/applewm.c
+++ b/hw/xquartz/applewm.c
@@ -192,7 +192,7 @@ ProcAppleWMQueryVersion(
swapl(&rep.length, n);
}
WriteToClient(client, sizeof(xAppleWMQueryVersionReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
@@ -383,7 +383,7 @@ ProcAppleWMDisableUpdate(
appleWMProcs->DisableUpdate();
- return (client->noClientException);
+ return Success;
}
static int
@@ -395,7 +395,7 @@ ProcAppleWMReenableUpdate(
appleWMProcs->EnableUpdate();
- return (client->noClientException);
+ return Success;
}
@@ -435,7 +435,7 @@ ProcAppleWMSetWindowMenu(
free(items);
free(shortcuts);
- return (client->noClientException);
+ return Success;
}
static int
@@ -447,7 +447,7 @@ ProcAppleWMSetWindowMenuCheck(
REQUEST_SIZE_MATCH(xAppleWMSetWindowMenuCheckReq);
X11ApplicationSetWindowMenuCheck(stuff->index);
- return (client->noClientException);
+ return Success;
}
static int
@@ -458,7 +458,7 @@ ProcAppleWMSetFrontProcess(
REQUEST_SIZE_MATCH(xAppleWMSetFrontProcessReq);
X11ApplicationSetFrontProcess();
- return (client->noClientException);
+ return Success;
}
static int
@@ -483,7 +483,7 @@ ProcAppleWMSetWindowLevel(register ClientPtr client)
return err;
}
- return (client->noClientException);
+ return Success;
}
static int
@@ -502,7 +502,7 @@ ProcAppleWMSendPSN(register ClientPtr client)
return err;
}
- return (client->noClientException);
+ return Success;
}
static int
@@ -532,7 +532,7 @@ ProcAppleWMAttachTransient(register ClientPtr client)
return err;
}
- return (client->noClientException);
+ return Success;
}
static int
@@ -545,7 +545,7 @@ ProcAppleWMSetCanQuit(
REQUEST_SIZE_MATCH(xAppleWMSetCanQuitReq);
X11ApplicationSetCanQuit(stuff->state);
- return (client->noClientException);
+ return Success;
}
@@ -581,7 +581,7 @@ ProcAppleWMFrameGetRect(
rep.h = rr.y2 - rr.y1;
WriteToClient(client, sizeof(xAppleWMFrameGetRectReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
static int
@@ -611,7 +611,7 @@ ProcAppleWMFrameHitTest(
rep.ret = ret;
WriteToClient(client, sizeof(xAppleWMFrameHitTestReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
static int
@@ -649,7 +649,7 @@ ProcAppleWMFrameDraw(
return errno;
}
- return (client->noClientException);
+ return Success;
}
diff --git a/hw/xquartz/pseudoramiX.c b/hw/xquartz/pseudoramiX.c
index c3154b948..5868ab129 100644
--- a/hw/xquartz/pseudoramiX.c
+++ b/hw/xquartz/pseudoramiX.c
@@ -202,7 +202,7 @@ static int ProcPseudoramiXGetState(ClientPtr client)
swaps (&rep.state, n);
}
WriteToClient (client, sizeof (xPanoramiXGetStateReply), (char *) &rep);
- return client->noClientException;
+ return Success;
}
@@ -231,7 +231,7 @@ static int ProcPseudoramiXGetScreenCount(ClientPtr client)
swaps (&rep.ScreenCount, n);
}
WriteToClient (client, sizeof(xPanoramiXGetScreenCountReply), (char *)&rep);
- return client->noClientException;
+ return Success;
}
@@ -265,7 +265,7 @@ static int ProcPseudoramiXGetScreenSize(ClientPtr client)
swaps (&rep.height, n);
}
WriteToClient (client, sizeof(xPanoramiXGetScreenSizeReply), (char *)&rep);
- return client->noClientException;
+ return Success;
}
@@ -290,7 +290,7 @@ static int ProcPseudoramiXIsActive(ClientPtr client)
swapl (&rep.state, n);
}
WriteToClient (client, sizeof (xXineramaIsActiveReply), (char *) &rep);
- return client->noClientException;
+ return Success;
}
@@ -337,7 +337,7 @@ static int ProcPseudoramiXQueryScreens(ClientPtr client)
}
}
- return client->noClientException;
+ return Success;
}
diff --git a/hw/xquartz/xpr/appledri.c b/hw/xquartz/xpr/appledri.c
index 74a4ec315..71cfb591b 100644
--- a/hw/xquartz/xpr/appledri.c
+++ b/hw/xquartz/xpr/appledri.c
@@ -128,7 +128,7 @@ ProcAppleDRIQueryVersion(
swapl(&rep.length, n);
}
WriteToClient(client, sizeof(xAppleDRIQueryVersionReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
@@ -159,7 +159,7 @@ ProcAppleDRIQueryDirectRenderingCapable(
WriteToClient(client,
sizeof(xAppleDRIQueryDirectRenderingCapableReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
static int
@@ -182,7 +182,7 @@ ProcAppleDRIAuthConnection(
rep.authenticated = 0;
}
WriteToClient(client, sizeof(xAppleDRIAuthConnectionReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
static void surface_notify(
@@ -247,7 +247,7 @@ ProcAppleDRICreateSurface(
rep.uid = sid;
WriteToClient(client, sizeof(xAppleDRICreateSurfaceReply), (char *)&rep);
- return (client->noClientException);
+ return Success;
}
static int
@@ -271,7 +271,7 @@ ProcAppleDRIDestroySurface(
return BadValue;
}
- return (client->noClientException);
+ return Success;
}
static int
@@ -323,7 +323,7 @@ ProcAppleDRICreatePixmap(ClientPtr client)
WriteReplyToClient(client, sizeof(rep), &rep);
(void)WriteToClient(client, rep.stringLength, path);
- return (client->noClientException);
+ return Success;
}
static int
@@ -342,7 +342,7 @@ ProcAppleDRIDestroyPixmap(ClientPtr client)
DRIDestroyPixmap(pDrawable);
- return (client->noClientException);
+ return Success;
}
/* dispatch */