Xext: use x_rpcbuf_t instead of struct x_rpcbuf

For consistency, always use the typedef instead of raw struct.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-04 17:01:24 +02:00
parent 510464d343
commit f1eed8bc90
2 changed files with 2 additions and 2 deletions

View File

@@ -964,7 +964,7 @@ ProcShapeGetRectangles(ClientPtr client)
return BadValue;
}
struct x_rpcbuf rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
x_rpcbuf_t rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
if (!region) {
xRectangle rect;

View File

@@ -115,7 +115,7 @@ ProcXCMiscGetXIDList(ClientPtr client)
size_t count = GetXIDList(client, stuff->count, pids);
struct x_rpcbuf rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
x_rpcbuf_t rpcbuf = { .swapped = client->swapped, .err_clear = TRUE };
x_rpcbuf_write_CARD32s(&rpcbuf, pids, count);
free(pids);