X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ftutorial%2Findex.html;h=58248079f223a54076033fc7158a4b2bd8684431;hb=a27c77ccae059fb64e0506648b81677858d3b05b;hp=75e1f75217ca837e8a1b2d4877acb59d2c27c6bc;hpb=bca41cdcdb11e2a610d7b7a3d077cbb77bc81e45;p=free-sw%2Fxcb%2Flibxcb diff --git a/doc/tutorial/index.html b/doc/tutorial/index.html index 75e1f75..5824807 100644 --- a/doc/tutorial/index.html +++ b/doc/tutorial/index.html @@ -173,13 +173,14 @@ with the XCB library. keep in mind that XCB, like the Xlib - library, isn't what post programmers wanting to write X + library, isn't what most programmers wanting to write X applications are looking for. They should use a much higher 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;