[Xcb] [Patch] XCBPeekNextEvent()

Ian Osgood iano at quirkster.com
Sun Jun 11 11:21:18 PDT 2006


Jamey replied to this already here:

http://lists.freedesktop.org/archives/xcb/2006-June/001662.html

Ian

On May 31, 2006, at 9:06 PM, Ori Bernstein wrote:

> While porting Xnest over to XCB as part of my Summer of Code  
> project, I ran
> into some code using XCheckIfEvent(). Since I couldn't find any  
> better way of
> porting the code to XCB, since it would involve knowing the next  
> event without
> getting it (or with ungetting it), I looked into the XCB code, and  
> noticed that
> most of the structure I needed to peek the next event was already  
> in place. So,
> without further ado, I present to you XCBPeekNextEvent().
>
> I'll pretend it gets into XCB for the nonce, until someone gently  
> admonishes me
> with a baseball bat and tells me a better way of porting the code  
> over, or
> commits it to XCB =)
>
> -- 
>  Zapp: She's built like a steak house but she handles like a bistro.
> <XCBPeekNextEvent.patch>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb



More information about the Xcb mailing list