[PATCH] XCBPeekNextEvent()
Ori Bernstein
rand_chars at rogers.com
Thu Jun 1 10:32:29 PDT 2006
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, (needing a way of 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 =)
--
Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XCBPeekNextEvent.patch
Type: text/x-patch
Size: 1495 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060601/5ca52381/attachment.bin>
More information about the xorg
mailing list