c_client.py: Inject full_sequence into GE events
authorDaniel Martin <consume.noise@gmail.com>
Sat, 8 Jun 2013 09:20:39 +0000 (11:20 +0200)
committerPeter Harris <pharris@opentext.com>
Fri, 12 Jul 2013 19:56:14 +0000 (15:56 -0400)
commit45619dc71e9411a526d7c69595cf615b1b1206cf
tree31d7aaf358e5c70fe5b9c49d038d39a0cb0db087
parenta1e67b141a57d39cbcaff1a703d6fc0da1fbb56d
c_client.py: Inject full_sequence into GE events

The generic event structure xcb_ge_event_t has the full_sequence field
at the 32byte boundary. That's why we've to inject this field into GE
events while generating the structure for them. Otherwise we would read
garbage (the internal full_sequence) when accessing normal event fields
there.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
src/c_client.py