From: Antoine Cellerier Date: Mon, 14 Nov 2005 20:02:53 +0000 (+0000) Subject: backport [13245] X-Git-Tag: 0.8.4~46 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=d0121363a97f0bf35434aaaca2e96bda5e3f6a76 backport [13245] --- diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c index 7e2352af9f..12d21c133e 100644 --- a/modules/video_output/x11/xcommon.c +++ b/modules/video_output/x11/xcommon.c @@ -1540,14 +1540,13 @@ static void ToggleFullScreen ( vout_thread_t *p_vout ) screens = XineramaQueryScreens( p_vout->p_sys->p_display, &i_num_screens ); - if( !SCREEN ) - SCREEN = config_GetInt( p_vout, + SCREEN = config_GetInt( p_vout, MODULE_STRING "-xineramascreen" ); /* just check that user has entered a good value */ if( SCREEN >= i_num_screens || SCREEN < 0 ) { - msg_Dbg( p_vout, "requested screen number invalid" ); + msg_Dbg( p_vout, "requested screen number invalid (%d/%d)", SCREEN, i_num_screens ); SCREEN = 0; }