]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/commands/cmd_fullscreen.cpp
skins2: use new input-item variable for callbacks on input variables and some cleanup
[vlc] / modules / gui / skins2 / commands / cmd_fullscreen.cpp
index 74a920d781d533d78c8713fe2da2a2d85792b85e..09177eaedb5e406c667d558d04fca8e854ff9271 100644 (file)
@@ -37,7 +37,7 @@ void CmdFullscreen::execute()
     if( pVout )
     {
         // Switch to fullscreen
-        pVout->i_changes |= VOUT_FULLSCREEN_CHANGE;
+        var_ToggleBool( pVout, "fullscreen" );
         vlc_object_release( pVout );
     }
 }