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 <https://invent.kde.org/plasma/kwin/-/merge_requests/2416> Part-of: <https://invent.kde.org/plasma/kwin/-/merge_requests/2416>
This commit is contained in:
parent
d143f6e3c4
commit
f013dc410e
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue