Commit b9b3fba6 authored by Rémi Duraffort's avatar Rémi Duraffort

Use var_ToggleBool.

parent 5879ef30
......@@ -434,9 +434,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
{
vlc_value_t val;
if( !p_real_vout ) return;
var_Get( p_real_vout, "fullscreen", &val );
val.b_bool = !val.b_bool;
var_Set( p_real_vout, "fullscreen", val );
var_ToggleBool( p_real_vout, "fullscreen" );
}
- (BOOL)isFullscreen
......
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