Browse Source

Fixed another crash with fullscreen in mozilla toolbar.

pull/2/head
Jean-Paul Saman 19 years ago
parent
commit
cd2efd35ef
  1. 10
      projects/mozilla/vlcshell.cpp

10
projects/mozilla/vlcshell.cpp

@ -999,9 +999,17 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
/* fullscreen */
if( (i_yPos > (i_height-30)) && (i_xPos >= 67) && (i_xPos < 94) )
{
int i_playing;
libvlc_exception_init( &ex );
libvlc_set_fullscreen( p_md, 1, &ex );
i_playing = libvlc_playlist_isplaying( p_plugin->getVLC(), &ex );
libvlc_exception_clear( &ex );
if( i_playing == 1 )
{
libvlc_exception_init( &ex );
libvlc_set_fullscreen( p_md, 1, &ex );
libvlc_exception_clear( &ex );
}
}
/* mute toggle */

Loading…
Cancel
Save