Commit 65f6489e authored by Rafaël Carré's avatar Rafaël Carré

Typo: disable always-on-top when going fullscreen

parent 29d8a0ba
...@@ -1503,7 +1503,7 @@ static int ManageVideo( vout_thread_t *p_vout ) ...@@ -1503,7 +1503,7 @@ static int ManageVideo( vout_thread_t *p_vout )
/* Disable "always on top" in fullscreen mode */ /* Disable "always on top" in fullscreen mode */
var_Get( p_vout, "video-on-top", &val_ontop ); var_Get( p_vout, "video-on-top", &val_ontop );
if( val_ontop.b_bool ) if( val_ontop.b_bool )
WindowOnTop( p_vout, val_fs.b_bool ); WindowOnTop( p_vout, !val_fs.b_bool );
ToggleFullScreen( p_vout ); ToggleFullScreen( p_vout );
p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment