reassign 530560 xcb-proto tag 530560 confirmed patch upstream kthxbye On Mon, May 25, 2009 at 21:44:26 +0300, Remi Denis-Courmont wrote:
> It would seem that the layout of the xcb_shm_completion_event_t > structure has the segment XID swapped with the event minor/major > numbers. This breaks processing of SHM completion event pretty badly > (without an ugly work around). > The following patch against xcb-proto fixes this, thanks for the report! Cheers, Julien From: Julien Cristau <[email protected]> Date: Tue, 26 May 2009 10:54:06 +0200 Subject: [PATCH] Fix ShmCompletion event Reported-by: Remi Denis-Courmont <[email protected]> Signed-off-by: Julien Cristau <[email protected]> --- src/shm.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/shm.xml b/src/shm.xml index 7168f3b..adda509 100644 --- a/src/shm.xml +++ b/src/shm.xml @@ -34,10 +34,10 @@ authorization from the authors. <event name="Completion" number="0"> <pad bytes="1" /> <field type="DRAWABLE" name="drawable" /> - <field type="SEG" name="shmseg" /> <field type="CARD16" name="minor_event" /> <field type="BYTE" name="major_event" /> <pad bytes="1" /> + <field type="SEG" name="shmseg" /> <field type="CARD32" name="offset" /> </event> -- 1.6.2.4 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

