summaryrefslogtreecommitdiff
path: root/src/manager-lib/inprocesssurfaceitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager-lib/inprocesssurfaceitem.cpp')
-rw-r--r--src/manager-lib/inprocesssurfaceitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager-lib/inprocesssurfaceitem.cpp b/src/manager-lib/inprocesssurfaceitem.cpp
index 4ae43b83..e18f7ec6 100644
--- a/src/manager-lib/inprocesssurfaceitem.cpp
+++ b/src/manager-lib/inprocesssurfaceitem.cpp
@@ -25,7 +25,7 @@ static bool isName(const QByteArray &key)
}
InProcessSurfaceItem::InProcessSurfaceItem(QQuickItem *parent)
- : QQuickItem(parent)
+ : QQuickFocusScope(parent)
{
QQmlEngine::setObjectOwnership(this, QQmlEngine::CppOwnership);
setClip(true);
@@ -83,7 +83,7 @@ bool InProcessSurfaceItem::eventFilter(QObject *o, QEvent *e)
}
}
- return QQuickItem::eventFilter(o, e);
+ return QQuickFocusScope::eventFilter(o, e);
}
void InProcessSurfaceItem::setVisibleClientSide(bool value)