[Xcb] Xevent and XCBEvent

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Tue May 31 14:54:23 PDT 2005



On Tue, 31 May 2005, Jamey Sharp wrote:

> On Sun, 2005-05-29 at 16:03 +0200, Vincent Torri wrote:
> > Hey :)
>
> Hey Vincent!
>
> > Is there any improvement about that problem ? I've almost finish a first
> > version of ecore xcb and i need this stuff
>
> You saw that Josh fixed one of your problems, right? (Thanks Josh!)

I did, yes :)

> That
> now you can do this...
>
> XCBClientMessageEvent cme;
> cme.format = 32;
> cme.data.data32[0] = ...
>
> As it happens, that makes the padding problem irrelevant for sending
> ClientMessage events with SendEvent: ClientMessage is already 32 bytes
> long and needs no padding.
>
> If you have other event types you need to use SendEvent on, we can fix
> up the padding pretty quickly, but otherwise it's not a priority for me
> right now, and I imagine not for Josh either.

I think that ecore uses only the 32 bits format. So there is no problem :)
great great great :)

Vincent


More information about the xcb mailing list