From: Zephaniah E. Hull Date: Sun, 15 Oct 2006 02:52:23 +0000 (-0700) Subject: Define and use constants for opcode numbers. X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ec55dc9c0c51137d89dd870ede05cc3268f75ae;p=free-sw%2Fxcb%2Flibxcb 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 --- 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. +