Commit 9f7bfd93 authored by Felix Abecassis's avatar Felix Abecassis Committed by Jean-Baptiste Kempf

hotkeys: fullscreen state of the vout should have precedence over fullscreen state of the playlist

Double clicking to toggle to fullscreen mode does not trigger this code
path since 7b8083d2. The state of the playlist was therefore not in
sync with the vout. Pressing the fullscreen hotkey caused the state of
the playlist to be used to set the state of the vout, thus causing the bug.

Close #10433.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 7a52ace1
......@@ -733,9 +733,13 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
bool fs = var_ToggleBool( p_playlist, "fullscreen" );
if( p_vout )
var_SetBool( p_vout, "fullscreen", fs );
bool fs = var_ToggleBool( p_vout, "fullscreen" );
var_SetBool( p_playlist, "fullscreen", fs );
var_ToggleBool( p_playlist, "fullscreen" );
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