+void ApplicationManager::screenshotUpdated()
+ if (!m_nextFocusedAppId.isEmpty()) {
+ Q_EMIT focusRequested(m_nextFocusedAppId);
+ m_nextFocusedAppId.clear();
+ }
I don't follow this. Why emit a focusRequest after screenshot is updated? Is it just the best time to do it?
+void ApplicationMana ger::screenshot Updated( ) AppId.isEmpty( )) { m_nextFocusedAp pId); pId.clear( );
+ if (!m_nextFocused
+ Q_EMIT focusRequested(
+ m_nextFocusedAp
+ }
I don't follow this. Why emit a focusRequest after screenshot is updated? Is it just the best time to do it?