From 2e69668f9971e5fc120f13d464203f5b516111b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 14 Jan 2012 14:48:56 +0100 Subject: [PATCH] Fix TabBoxHandler::containsPos for desktop switching box --- tabbox/tabboxhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tabbox/tabboxhandler.cpp b/tabbox/tabboxhandler.cpp index d106b14c0c..e91ea71da0 100644 --- a/tabbox/tabboxhandler.cpp +++ b/tabbox/tabboxhandler.cpp @@ -429,6 +429,8 @@ bool TabBoxHandler::containsPos(const QPoint& pos) const QWidget *w = NULL; if (d->m_declarativeView && d->m_declarativeView->isVisible()) { w = d->m_declarativeView; + } else if (d->m_declarativeDesktopView && d->m_declarativeDesktopView->isVisible()) { + w = d->m_declarativeDesktopView; } else { return false; }