X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fc-client.xsl;h=56dbaac942ef0664013e09d0cfad75584f157adc;hb=1476dcecfd3e817236ae996314c10482aae8e3e9;hp=bee727542726554cc1b5f33eed62daa0d838db11;hpb=5e115e2441ed32f5fa495370b36b01c03bbff66d;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/c-client.xsl b/src/c-client.xsl index bee7275..56dbaac 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -567,7 +567,7 @@ authorization from the authors. - + static const XCBProtocolRequest xcb_req = { @@ -596,30 +596,30 @@ authorization from the authors. mode="assign" /> - xcb_parts[0].iov_base = &xcb_out; - xcb_parts[0].iov_len = sizeof(xcb_out); - xcb_parts[1].iov_base = 0; - xcb_parts[1].iov_len = -xcb_parts[0].iov_len & 3; + xcb_parts[2].iov_base = (char *) &xcb_out; + xcb_parts[2].iov_len = sizeof(xcb_out); + xcb_parts[3].iov_base = 0; + xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - xcb_parts[ * 2].iov_base = (void *) ; - xcb_parts[ * 2].iov_len = * sizeof( ) ; - xcb_parts[ * 2 + 1].iov_base = 0; - xcb_parts[ * 2 + 1].iov_len = -xcb_parts[ * 2].iov_len & 3; + xcb_parts[].iov_base = 0; + xcb_parts[].iov_len = -xcb_parts[].iov_len & 3; - XCBSendRequest(c, &xcb_ret.sequence, XCB_REQUEST_CHECKED 0 - , xcb_parts, &xcb_req); + , xcb_parts + 2, &xcb_req); return xcb_ret; @@ -1089,6 +1089,12 @@ authorization from the authors. ) + + (1 << + + ) + +