IEnumerable <Wnck.Window> RawWindows() { foreach (Wnck.Window window in ScreenUtils.GetWindows()) { if (WindowCenterInViewport(window) || window.IsSticky) { yield return(window); } } }
public void ShowDesktop() { if (!ScreenUtils.DesktopShown(parent.Screen)) { ScreenUtils.ShowDesktop(parent.Screen); } else { ScreenUtils.UnshowDesktop(parent.Screen); } }
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); } }