From 0925e470b2abf8837c62e81428660a01bbb990fa Mon Sep 17 00:00:00 2001 From: TORRI Vincent Date: Thu, 12 Apr 2007 15:46:05 +0200 Subject: [PATCH 1/2] remove the 7th bit of the response_type for the event loops --- doc/tutorial/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/tutorial/index.html b/doc/tutorial/index.html index 75e1f75..c540426 100644 --- a/doc/tutorial/index.html +++ b/doc/tutorial/index.html @@ -178,8 +178,9 @@ level GUI toolkit like Motif, LessTiff, GTK, - QT or - EWL, or use + QT, + EWL, + ETK, or use Cairo. However, we need to start somewhere. More than this, knowing how things @@ -2327,7 +2328,7 @@ int main () while (1) { e = xcb_poll_for_event(c); if (e) { - switch (e->response_type) { + switch (e->response_type & ~0x80) { case XCB_EXPOSE: { char *text; @@ -3740,7 +3741,7 @@ int main () while (1) { e = xcb_poll_for_event(c); if (e) { - switch (e->response_type) { + switch (e->response_type & ~0x80) { case XCB_EXPOSE: { char *text; From 158c9b6ba18b39f424bd524fceb66f3fec0d1616 Mon Sep 17 00:00:00 2001 From: Ian Osgood Date: Fri, 13 Apr 2007 15:14:12 -0700 Subject: [PATCH 2/2] Generate error constants as XCB_BAD_*, similar to Xlib. The previous constants remain for compatibility, but should be deprecated. --- src/c-client.xsl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/c-client.xsl b/src/c-client.xsl index be6aa30..c90e94f 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -449,6 +449,11 @@ authorization from the authors. + + + + +