void LauncherApplication::activate() { if (urgent()) { show(); } else if (active()) { if (windowCountOnCurrentWorkspace() > 0 && windowCount() > 1) { spread(windowCount() > windowCountOnCurrentWorkspace()); } } else if (running() && has_visible_window()) { show(); } else { launch(); } }
void LauncherApplication::updateWindowCount() { Q_EMIT windowCountChanged(windowCount()); }
int LipstickCompositor::ghostWindowCount() const { return m_totalWindowCount - windowCount(); }