]> git.sesse.net Git - vlc/commitdiff
Xlib: no need to restore windowed mode when exiting
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 11 Aug 2009 18:02:10 +0000 (21:02 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 12 Aug 2009 15:21:09 +0000 (18:21 +0300)
(Otherwise we would be in trouble whenever VLC crashes)

modules/video_output/x11/xcommon.c

index 0391683975bce54edd71595afe357b6ca417c8d2..e04f29e918479dde0960cdc9100309de612bb7bc 100644 (file)
@@ -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 )
     {