[Xcb-commit] xcb

Josh Triplett josh at kemper.freedesktop.org
Sun Jul 30 15:09:03 PDT 2006


 xcb/src/xcb_in.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

New commits:
diff-tree da9c538c232ea9b856370ec7fa98cfb3cbde9f86 (from 8e06bf2fd09bd57f8f3adb6172e3d69a09647f45)
Author: Josh Triplett <josh at freedesktop.org>
Date:   Sun Jul 30 15:09:03 2006 -0700

    Fix typo: s/request/sequence/

diff --git a/xcb/src/xcb_in.c b/xcb/src/xcb_in.c
index d1118fd..b45637f 100644
--- a/xcb/src/xcb_in.c
+++ b/xcb/src/xcb_in.c
@@ -409,13 +409,13 @@ XCBGenericError *XCBRequestCheck(XCBConn
      * XCBGetInputFocusReply, and XCBWaitForReply. */
     XCBGenericError *ret;
     void *reply;
-    if(XCB_SEQUENCE_COMPARE(cookie.request,>,c->in.request_expected)
-       && XCB_SEQUENCE_COMPARE(cookie.request,>,c->in.request_completed))
+    if(XCB_SEQUENCE_COMPARE(cookie.sequence,>,c->in.request_expected)
+       && XCB_SEQUENCE_COMPARE(cookie.sequence,>,c->in.request_completed))
     {
         free(XCBGetInputFocusReply(c, XCBGetInputFocus(c), &ret));
         assert(!ret);
     }
-    reply = XCBWaitForReply(c, cookie.request, &ret);
+    reply = XCBWaitForReply(c, cookie.sequence, &ret);
     assert(!reply);
     return ret;
 }


More information about the xcb-commit mailing list