waylandsink: Set external surfaces and their child objects to use our own event queue
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 10 Mar 2014 11:50:06 +0000 (13:50 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:24 +0000 (13:51 +0200)
commit12444ec84e6b2790a8f8a05be4254e3bfd1a42f4
tree87c19dd72962c57a0b619f52ec129ccc820fcdd0
parentfabc5305be5530e89ec351e9422918226185df89
waylandsink: Set external surfaces and their child objects to use our own event queue

This fixes weird freezes because of frame_redraw_callback() not being
called from the main thread when it should with weston's toy toolkit.

It's also safer to know that frame_redraw_callback() will always be
called from our display thread... Otherwise it could be called after
the sink has been destroyed for example.
ext/wayland/gstwaylandsink.c