From: Gildas Bazin Date: Wed, 13 Aug 2003 18:39:53 +0000 (+0000) Subject: * modules/video_output/x11/xcommon.c: fixed a bug with fullscreen and sawfish. X-Git-Tag: 0.6.2~5 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=84509c429fde2caf5e1e0d36fb9c5b1e713c29ed;hp=b83deb14dfba98e2695e437b7f66c65fd8bb2713;p=vlc * modules/video_output/x11/xcommon.c: fixed a bug with fullscreen and sawfish. * modules/codec/ffmpeg/video.c: forgot a debug message. --- diff --git a/modules/codec/ffmpeg/video.c b/modules/codec/ffmpeg/video.c index 265b62236f..450138fa4a 100644 --- a/modules/codec/ffmpeg/video.c +++ b/modules/codec/ffmpeg/video.c @@ -2,7 +2,7 @@ * video.c: video decoder using ffmpeg library ***************************************************************************** * Copyright (C) 1999-2001 VideoLAN - * $Id: video.c,v 1.39 2003/08/12 17:01:35 gbazin Exp $ + * $Id: video.c,v 1.40 2003/08/13 18:39:53 gbazin Exp $ * * Authors: Laurent Aimar * Gildas Bazin @@ -597,7 +597,6 @@ usenextdata: p_vdec->p_ff_pic->pict_type == FF_B_TYPE ) ) { p_vdec->pts = p_vdec->p_ff_pic->pts; -msg_Err( p_vdec->p_fifo, "new pts: "I64Fd, p_vdec->pts ); } if( p_vdec->pts <= 0 ) diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c index 00693cdaab..b2a8bcb4a7 100644 --- a/modules/video_output/x11/xcommon.c +++ b/modules/video_output/x11/xcommon.c @@ -2,7 +2,7 @@ * xcommon.c: Functions common to the X11 and XVideo plugins ***************************************************************************** * Copyright (C) 1998-2001 VideoLAN - * $Id: xcommon.c,v 1.28 2003/08/03 23:11:21 gbazin Exp $ + * $Id: xcommon.c,v 1.29 2003/08/13 18:39:52 gbazin Exp $ * * Authors: Vincent Seguin * Samuel Hocevar @@ -1484,14 +1484,12 @@ static void ToggleFullScreen ( vout_thread_t *p_vout ) False, SubstructureRedirectMask, (XEvent*)&event ); } - else - { - /* Make sure the change is effective */ - XReparentWindow( p_vout->p_sys->p_display, - p_vout->p_sys->p_win->base_window, - DefaultRootWindow( p_vout->p_sys->p_display ), - 0, 0 ); - } + + /* Make sure the change is effective */ + XReparentWindow( p_vout->p_sys->p_display, + p_vout->p_sys->p_win->base_window, + DefaultRootWindow( p_vout->p_sys->p_display ), + 0, 0 ); /* fullscreen window size and position */ p_vout->p_sys->p_win->i_width =