[vlc-devel] [PATCH] hotkeys: get the boss-key to work reliably
Vikalp Bhandari 97vikalp@gmail.com
97vikalp at gmail.com
Mon Feb 4 20:08:10 CET 2019
turn off fullscreen before triggering callback
---
modules/control/hotkeys.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 6c60deaf09..533ff7df5a 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -401,6 +401,9 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
var_TriggerCallback( p_playlist, "intf-toggle-fscontrol" );
break;
case ACTIONID_INTF_BOSS:
+ if( p_vout )
+ var_SetBool( p_vout, "fullscreen", false );
+ var_SetBool( p_playlist, "fullscreen", false );
var_TriggerCallback( p_playlist, "intf-boss" );
break;
case ACTIONID_INTF_POPUP_MENU:
--
2.17.1
More information about the vlc-devel
mailing list