Example #1
0
 public void ShowDesktop()
 {
     if (!ScreenUtils.DesktopShown(parent.Screen))
     {
         ScreenUtils.ShowDesktop(parent.Screen);
     }
     else
     {
         ScreenUtils.UnshowDesktop(parent.Screen);
     }
 }
Example #2
0
        void ShowDesktop(bool storeState)
        {
            if (storeState)
            {
                window_states.Push(new Dictionary <Wnck.Window, WindowState> ());
            }

            if (!ScreenUtils.DesktopShown(parent.Screen))
            {
                ScreenUtils.ShowDesktop(parent.Screen);
            }
            else
            {
                ScreenUtils.UnshowDesktop(parent.Screen);
            }
        }