diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp index a6161d45b3..ee1e526aa7 100644 --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -538,6 +538,7 @@ void PresentWindowsEffect::windowInputMouseEvent(QEvent *e) if (!me) { return; } + me->setAccepted(false); if (m_closeView) { const bool contains = m_closeView->geometry().contains(me->pos()); if (!m_closeView->isVisible() && contains) { @@ -545,6 +546,9 @@ void PresentWindowsEffect::windowInputMouseEvent(QEvent *e) } m_closeView->forwardMouseEvent(e); } + if (e->isAccepted()) { + return; + } inputEventUpdate(me->pos(), me->type(), me->button()); }