+// msg_Dbg( p_vout, "Manage" );
+
+ /* Fullscreen change */
+ if( p_vout->i_changes & VOUT_FULLSCREEN_CHANGE )
+ {
+ p_vout->b_fullscreen = ! p_vout->b_fullscreen;
+
+// p_vout->p_sys->b_cursor_autohidden = 0;
+// SDL_ShowCursor( p_vout->p_sys->b_cursor &&
+// ! p_vout->p_sys->b_cursor_autohidden );
+
+ p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE;
+ p_vout->i_changes |= VOUT_SIZE_CHANGE;
+ }
+
+ /*
+ * Size change
+ */
+ if( p_vout->i_changes & VOUT_SIZE_CHANGE )
+ {
+ msg_Dbg( p_vout, "video display resized (%dx%d)",
+ p_vout->p_sys->i_width, p_vout->p_sys->i_height );
+
+ CloseDisplay( p_vout );
+ OpenDisplay( p_vout );
+
+ /* We don't need to signal the vout thread about the size change if
+ * we can handle rescaling ourselves */
+ p_vout->i_changes &= ~VOUT_SIZE_CHANGE;
+ }
+
+ /* Pointer change */
+// if( ! p_vout->p_sys->b_cursor_autohidden &&
+// ( mdate() - p_vout->p_sys->i_lastmoved > 2000000 ) )
+// {
+// /* Hide the mouse automatically */
+// p_vout->p_sys->b_cursor_autohidden = 1;
+// SDL_ShowCursor( 0 );
+// }
+//
+// if( p_vout->p_libvlc->b_die )
+// p_vout->p_sys->bRunning = FALSE;
+