[Xcb] xcb and xlib events

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Mon Jul 11 18:22:15 EST 2005


Hello,

Another strange question:

In ecore event loop, when i use xlib port, for a program, I have this
sequence of events during the event loop :

8 ProperNotify events
2 Expose events
1 ProperNotify event
etc...

The loop is something like :


while (XPending(d))
   {
      XEvent ev;

      XNextEvent(d, &ev);

      ***
   }

But when I use the xcb port, I get the sequence of events:

8 ProperNotify events

and that' all, the loop finishes. The loop is something like:

while (ev = XCBPollForEvent (c, 0))
   {
      ***
   }

So, is it normal ? Do you think it could be a bug in xcb ?

thank you

Vincent Torri


More information about the xcb mailing list