From 39d96e667774980757b12ea31d52972eadfbf38e Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Tue, 23 Mar 2004 09:46:11 +0000 Subject: Fix thread safety of XINE_GUI_SEND_DRAWABLE_CHANGED CVS patchset: 6303 CVS date: 2004/03/23 09:46:11 --- src/video_out/video_out_xv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index df11f2808..da57425bc 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xv.c,v 1.192 2004/03/16 18:50:33 hadess Exp $ + * $Id: video_out_xv.c,v 1.193 2004/03/23 09:46:11 esnel Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -955,9 +955,8 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen, break; case XINE_GUI_SEND_DRAWABLE_CHANGED: - this->drawable = (Drawable) data; - XLockDisplay (this->display); + this->drawable = (Drawable) data; XFreeGC(this->display, this->gc); this->gc = XCreateGC (this->display, this->drawable, 0, NULL); if(this->xoverlay) -- cgit v1.2.3