https://bugs.kde.org/show_bug.cgi?id=365606

--- Comment #3 from Marco Martin <notm...@gmail.com> ---
possible patch:

    diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp                  
    index 43ce83d..a0b25a4 100644
    --- a/shell/shellcorona.cpp
    +++ b/shell/shellcorona.cpp
    @@ -1237,9 +1237,11 @@ Activity *ShellCorona::activity(const QString &id)
     void ShellCorona::insertActivity(const QString &id, Activity *activity)
     {
         m_activities.insert(id, activity);
    -    Plasma::Containment *c = createContainmentForActivity(id,
m_views.count());
    -    if (c) {
    -        c->config().writeEntry("lastScreen", 0);
    +    for (int i = 0; i < m_views.count(); ++i) {
    +        Plasma::Containment *c = createContainmentForActivity(id, i);
    +        if (c) {
    +            c->config().writeEntry("lastScreen", i);
    +        }
         }
     }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to