File plasma-dashboard-leave.diff of Package kdebase4-workspace

Index: plasma/desktop/shell/dashboardview.cpp
===================================================================
--- plasma/desktop/shell/dashboardview.cpp.orig
+++ plasma/desktop/shell/dashboardview.cpp
@@ -224,6 +224,15 @@ bool DashboardView::eventFilter(QObject
         widgetExplorer->setPos(0, containment()->geometry().height() - widgetExplorer->geometry().height());
     }
 
+    if (watched != (QObject*)m_widgetExplorer.data()) {
+        if (event->type() == QEvent::MouseButtonPress) {
+            QMouseEvent *me = static_cast<QMouseEvent *>(event);
+            if (me->button() == Qt::LeftButton) {
+                hideView();
+            }
+        }
+    }
+
     return false;
 }