Fix TabBoxHandler::containsPos for desktop switching box

This commit is contained in:
Martin Gräßlin 2012-01-14 14:48:56 +01:00
parent 58725981eb
commit 2e69668f99

View file

@ -429,6 +429,8 @@ bool TabBoxHandler::containsPos(const QPoint& pos) const
QWidget *w = NULL; QWidget *w = NULL;
if (d->m_declarativeView && d->m_declarativeView->isVisible()) { if (d->m_declarativeView && d->m_declarativeView->isVisible()) {
w = d->m_declarativeView; w = d->m_declarativeView;
} else if (d->m_declarativeDesktopView && d->m_declarativeDesktopView->isVisible()) {
w = d->m_declarativeDesktopView;
} else { } else {
return false; return false;
} }