Skip to content

Commit

Permalink
containment loses screen if its activity not current
Browse files Browse the repository at this point in the history
when the current activity changes, all desktop containments, having the old
activity lose their screen
  • Loading branch information
notmart committed Sep 11, 2014
1 parent a6d2329 commit 2b90886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/shellcorona.cpp
Expand Up @@ -1359,7 +1359,7 @@ int ShellCorona::screenForContainment(const Plasma::Containment *containment) co
}

for (int i = 0; i < m_views.count(); i++) {
if (m_views[i]->containment() == containment) {
if (m_views[i]->containment() == containment && containment->activity() == m_activityConsumer->currentActivity()) {
return i;
}
}
Expand Down

0 comments on commit 2b90886

Please sign in to comment.