From 5ec55dc9c0c51137d89dd870ede05cc3268f75ae Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Sat, 14 Oct 2006 19:52:23 -0700 Subject: [PATCH] Define and use constants for opcode numbers. Hard coding the opcode numbers in the function just makes it harder to figure out what's going on, but much more to the point, not defining the opcodes in the header makes it impossible to use the generated headers instead of the x11proto headers in the server. The name I settled on is very simple, for an extension by the name of xconf, and a request by the name of list_devices, we get XCB_XCONF_LIST_DEVICES. If this somehow causes problems, we can probably add a _OP somewhere in there, but. Acked-by: Jamey Sharp Closes: #8641 --- src/c-client.xsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/c-client.xsl b/src/c-client.xsl index f9897f7..445a8a6 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -342,7 +342,7 @@ authorization from the authors. - true @@ -358,6 +358,7 @@ authorization from the authors. + -- 2.34.1