]> git.sesse.net Git - vlc/commitdiff
backport [13245]
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 14 Nov 2005 20:02:53 +0000 (20:02 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 14 Nov 2005 20:02:53 +0000 (20:02 +0000)
modules/video_output/x11/xcommon.c

index 7e2352af9f1bf0f67890b846bd7ad2a6e8752f61..12d21c133e7d3dafbe17c0ae5eb473e785ed75a9 100644 (file)
@@ -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;
             }