diff --git a/shell/desktopview.cpp b/shell/desktopview.cpp index 25fa19fb9..d0e427300 100644 --- a/shell/desktopview.cpp +++ b/shell/desktopview.cpp @@ -144,6 +144,11 @@ bool DesktopView::event(QEvent *e) //prevent ALT+F4 from killing the shell e->ignore(); return true; + } else if (e->type() == QEvent::FocusOut) { + QObject *graphicObject = containment()->property("_plasma_graphicObject").value(); + if (graphicObject) { + graphicObject->setProperty("focus", false); + } } return PlasmaQuick::View::event(e);