Typo: disable always-on-top when going fullscreen
authorRafaël Carré <funman@videolan.org>
Sat, 10 May 2008 11:40:04 +0000 (13:40 +0200)
committerRafaël Carré <funman@videolan.org>
Sat, 10 May 2008 11:40:04 +0000 (13:40 +0200)
modules/video_output/x11/xcommon.c

index 12032ce..b37ae25 100644 (file)
@@ -1503,7 +1503,7 @@ static int ManageVideo( vout_thread_t *p_vout )
         /* Disable "always on top" in fullscreen mode */
         var_Get( p_vout, "video-on-top", &val_ontop );
         if( val_ontop.b_bool )
-            WindowOnTop( p_vout, val_fs.b_bool );
+            WindowOnTop( p_vout, !val_fs.b_bool );
 
         ToggleFullScreen( p_vout );
         p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE;