xserver-multidpi/miext/sync
Michel Dänzer c747dbb250 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>
(cherry picked from commit 0d8cc7bb18)
2019-09-26 18:26:45 +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: Distribute more SDK headers 2018-04-02 13:42:08 -04:00
misync.c xsync: Add resource inside of SyncCreate, export SyncCreate 2019-08-13 14:53:55 -07:00
misync.h xsync: Add resource inside of SyncCreate, export SyncCreate 2019-08-13 14:53:55 -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:26:45 +02:00