public void Apply(WindowInterface window) { var stateChanged = fullscreen.State != window.IsFullScreen; if (stateChanged) { window.SetFullscreen(fullscreen.State); } window.ApplyChanges(); }
public void Apply(WindowInterface window) { var stateChanged = fullscreen.State != window.IsFullScreen; if (stateChanged) { window.SetFullscreen(fullscreen.State); } window.ApplyChanges(); }