xserver-multidpi/miext/sync
Michel Dänzer 0d8cc7bb18 miext/sync: Make struct _SyncObject::initialized fully ABI compatible
With a 32-bit build, putting the initialized field at the end of the
struct bumped the struct size from 20 bytes to 24, changing the layout
of other structs embedding struct _SyncObject. While this would be
acceptable on master, it caused crashes with 1.20.

Making the initialized field a char and putting it in the hole before
the beingDestroyed field restores the 32-bit ABI as well.

Fixes https://gitlab.freedesktop.org/xorg/xserver/issues/892

Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Alex Goins <agoins@nvidia.com>
2019-09-26 18:10:00 +02:00
..
Makefile.am miext: Ensure xshmfence is only called when driver supports it 2013-11-23 22:06:19 -08:00
meson.build meson: Build miext/sync for Xwayland 2019-08-15 17:08:04 +00:00
misync.c xsync: Add resource inside of SyncCreate, export SyncCreate 2019-04-17 14:01:17 -07:00
misync.h xsync: Add resource inside of SyncCreate, export SyncCreate 2019-04-17 14:01:17 -07:00
misyncfd.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
misyncfd.h miext: Ensure xshmfence is only called when driver supports it 2013-11-23 22:06:19 -08:00
misyncshm.c miext/sync: Handle libxshmfence API change 2013-12-02 12:57:11 -08:00
misyncshm.h miext: Ensure xshmfence is only called when driver supports it 2013-11-23 22:06:19 -08:00
misyncstr.h miext/sync: Make struct _SyncObject::initialized fully ABI compatible 2019-09-26 18:10:00 +02:00