From 2de1bda33a9c9ddf3d9d1e6e224dd4e1a01cd1a3 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 16 Apr 2018 13:36:07 +0200 Subject: [PATCH] ensure the containment we created has the activity we asked for --- src/plasma/corona.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plasma/corona.cpp b/src/plasma/corona.cpp index 8ebe8bf05..e37b8438b 100644 --- a/src/plasma/corona.cpp +++ b/src/plasma/corona.cpp @@ -232,13 +232,14 @@ Containment *Corona::containmentForScreen(int screen, Plasma::Types::ImmutabilityType imm = d->immutability; d->immutability = Types::Mutable; containment = d->addContainment(defaultPluginIfNonExistent, defaultArgs, 0, screen, false); - if (containment) { - // containment->setScreen(screen); - } + d->immutability = imm; } } + if (containment) { + containment->setActivity(activity); + } return containment; }