Commit 26d7acaf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Xlib: no need to restore windowed mode when exiting

(Otherwise we would be in trouble whenever VLC crashes)
parent bce03d65
......@@ -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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment