Пример #1
0
        protected override void SwitchToWorkspaceInner(VirtualDesktop desktop)
        {
            UpdateWindowAssociations();

            // Hide windows for current desktop and show those from the new desktop.
            // TODO: Refactor so that one can not forget to call 'SetHideBehavior'.
            CurrentWorkspace.SetHideBehavior(wi => _hideBehavior(new Window(wi), this).Select(w => w.WindowInfo).ToList());
            CurrentWorkspace.Hide();
            desktop.Show();
        }