Commit f013dc41 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Nicolás Alvarez
Browse files

Don't block screen edge for fullscreen effects

Otherwise in overview effect you cannot go back out the way you came.

Tested-by: Merge Service <!2416>
Part-of: <!2416>
parent d143f6e3
Pipeline #180553 passed with stage
in 22 minutes and 21 seconds
......@@ -587,6 +587,7 @@ void EffectsHandlerImpl::setActiveFullScreenEffect(Effect *e)
}
}
Q_EMIT hasActiveFullScreenEffectChanged();
ScreenEdges::self()->checkBlocking();
}
}
......
......@@ -576,7 +576,7 @@ void Edge::setGeometry(const QRect &geometry)
void Edge::checkBlocking()
{
Window *client = Workspace::self()->activeWindow();
const bool newValue = !m_edges->remainActiveOnFullscreen() && client && client->isFullScreen() && client->frameGeometry().contains(m_geometry.center());
const bool newValue = !m_edges->remainActiveOnFullscreen() && client && client->isFullScreen() && client->frameGeometry().contains(m_geometry.center()) && !(effects && effects->hasActiveFullScreenEffect());
if (newValue == m_blocked) {
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment