[vlc-devel] commit: Xlib: no need to restore windowed mode when exiting ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 12 17:21:36 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 11 21:02:10 2009 +0300| [26d7acaff875412533279c36347be4d9be2ec316] | committer: Rémi Denis-Courmont 

Xlib: no need to restore windowed mode when exiting

(Otherwise we would be in trouble whenever VLC crashes)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26d7acaff875412533279c36347be4d9be2ec316
---

 modules/video_output/x11/xcommon.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index 0391683..e04f29e 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -458,12 +458,6 @@ void Deactivate ( vlc_object_t *p_this )
 {
     vout_thread_t *p_vout = (vout_thread_t *)p_this;
 
-    /* If the fullscreen window is still open, close it */
-    if( p_vout->b_fullscreen )
-    {
-        ToggleFullScreen( p_vout );
-    }
-
     /* Restore cursor if it was blanked */
     if( !p_vout->p_sys->b_mouse_pointer_visible )
     {




More information about the vlc-devel mailing list