[Xcb] client message event strangeness

Vincent Torri vtorri at univ-evry.fr
Tue Apr 10 10:11:25 PDT 2007


I have a strange behavior with ecore_xcb, and another simple xcb prog, 

I want to get the event that is sent when I click on little cross of the 
title bar (to delete a prog).

It should be the event #33 (client message). It seems reasonnable, and 
Xlib sends it.

Now, with the cursor example (see the tutorial), if I add a printf when an 
event is found:

     if (e) {
       printf ("event : %d\n", e->response_type);

nothing is displayed (xcb_poll_for_event is used) and the window 

With ecore_xcb (which is my main concern, actually), I get the event #161, 
which is strange as X has only a maximum of event number of 35 (LASTEvent 
in Xlib, which is, btw, not defined in XCB. Has it been forgotten ?)

Is there a logical explanation of that mess ?

thank you


More information about the Xcb mailing list