]> git.sesse.net Git - vlc/blobdiff - modules/control/globalhotkeys/xcb.c
misc: use var_Inherit
[vlc] / modules / control / globalhotkeys / xcb.c
index d31af2cc2a16734c91608e3b12b43aa573e99eef..4049e63d754f308001618acadb589b9457edc946 100644 (file)
@@ -344,7 +344,7 @@ static bool Mapping( intf_thread_t *p_intf )
             break;
 
         const int i_vlc_action = p_hotkey->i_action;
-        const int i_vlc_key = config_GetInt( p_intf, psz_hotkey );
+        const int i_vlc_key = var_InheritInteger( p_intf, psz_hotkey );
         free( psz_hotkey );
 
         if( !i_vlc_key )