[296/906] Fix callbacks passed over XEvents on 64 bit architectures
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 3 Feb 2009 17:58:00 +0000 (18:58 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:21 +0000 (19:31 +0000)
commitbabd51c58fb2d2904e04d98f00cd13b1614f6c49
treeff4bd01ab94081650d56bfe4b47f2a418d09daf5
parent809c2ec04c5d41ee0f26cd5acad5921e9fe8b64c
[296/906] Fix callbacks passed over XEvents on 64 bit architectures

Althought the XEvent's xclient.data.l array is an array of
longs they will be constrained to 32 bit by the X11 protocol.
On 64 bit architectures use two elements of the array to store
one pointer.
This fixes segfaults that happen at least for every example
on startup.
gst-libs/gst/gl/gstglwindow_x11.c