diff --git a/app/view/view.cpp b/app/view/view.cpp index 393e51961..a3720d16b 100644 --- a/app/view/view.cpp +++ b/app/view/view.cpp @@ -570,7 +570,6 @@ void View::updateAbsoluteGeometry(bool bypassChecks) //! this is needed in order to update correctly the screenGeometries if (visibility() && corona() && visibility()->mode() == Types::AlwaysVisible) { //! main use of BYPASSCKECKS is from Positioner when the view changes screens - emit availableScreenRectChangedFrom(this); emit availableScreenRegionChangedFrom(this); } diff --git a/app/view/visibilitymanager.cpp b/app/view/visibilitymanager.cpp index 1459e7feb..8cc1b38bf 100644 --- a/app/view/visibilitymanager.cpp +++ b/app/view/visibilitymanager.cpp @@ -73,7 +73,7 @@ VisibilityManager::VisibilityManager(PlasmaQuick::ContainmentView *view) connect(m_latteView, &Latte::View::inEditModeChanged, this, &VisibilityManager::initViewFlags); connect(m_latteView, &Latte::View::absoluteGeometryChanged, this, [&]() { - if (m_mode == Types::AlwaysVisible && m_latteView->screen()) { + if (m_mode == Types::AlwaysVisible) { updateStrutsBasedOnLayoutsAndActivities(); } }); @@ -235,9 +235,7 @@ void VisibilityManager::setMode(Latte::Types::Visibility mode) }); m_connections[base+2] = connect(m_latteView, &Latte::View::activitiesChanged, this, [&]() { - if (m_corona && m_corona->layoutsManager()->memoryUsage() == MemoryUsage::MultipleLayouts) { - updateStrutsBasedOnLayoutsAndActivities(true); - } + updateStrutsBasedOnLayoutsAndActivities(true); }); raiseView(true);