mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
compext: Xi: use return value of X_SEND_REPLY_SIMPLE()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
a6f629cbaa
commit
e4e99bff2d
@@ -124,8 +124,8 @@ ProcCompositeQueryVersion(ClientPtr client)
|
||||
swapl(&rep.majorVersion);
|
||||
swapl(&rep.minorVersion);
|
||||
}
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
#define VERIFY_WINDOW(pWindow, wid, client, mode) \
|
||||
@@ -303,8 +303,8 @@ SingleCompositeGetOverlayWindow(ClientPtr client, xCompositeGetOverlayWindowReq
|
||||
if (client->swapped) {
|
||||
swapl(&rep.overlayWin);
|
||||
}
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -858,8 +858,8 @@ ProcCompositeGetOverlayWindow(ClientPtr client)
|
||||
if (client->swapped) {
|
||||
swapl(&rep.overlayWin);
|
||||
}
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
#else
|
||||
return SingleCompositeGetOverlayWindow(client, stuff);
|
||||
#endif /* XINERAMA */
|
||||
|
||||
Reference in New Issue
Block a user