qtquick: Use the fallback mouse grabber

This code was needing porting.
This commit is contained in:
Sergio Martins
2022-05-30 19:31:30 +01:00
parent 22f6f4b2f1
commit 30ca6769e4
7 changed files with 20 additions and 14 deletions

View File

@@ -163,3 +163,11 @@ Platform_qtquick *Platform_qtquick::instance()
return static_cast<Platform_qtquick *>(p);
return nullptr;
}
bool Platform_qtquick::usesFallbackMouseGrabber() const
{
// For QtQuick we use the global event filter as mouse delivery is flaky
// For example, the same QQuickItem that receives the press isn't receiving the mouse moves
// when the top-level window moves.
return true;
}