[760/906] x11: Always use the same display connection from the GL thread

The other display connection might be used by async calls from elsewhere
at the same time.

https://bugzilla.gnome.org/show_bug.cgi?id=704247
This commit is contained in:
Sebastian Dröge 2013-07-16 13:23:54 +02:00 committed by Matthew Waters
parent 1a6b357b39
commit ddfc527857

View file

@ -508,7 +508,7 @@ gst_gl_window_x11_draw_unlocked (GstGLWindow * window, guint width,
XSendEvent (window_x11->device, window_x11->internal_win_id, FALSE,
ExposureMask, &event);
XSync (window_x11->disp_send, FALSE);
XSync (window_x11->device, FALSE);
}
}