Fix 2 cursors under EGLFS_KMS
Don't create hwcursor if it is disabled in QT_QPA_EGLFS_KMS_CONFIG. Task-number: QTBUG-52403 Change-Id: I4e6f45d5b773dc2d50cd012179cd23452d910537 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
This commit is contained in:
parent
f156c33c27
commit
3f73ecd59a
@ -417,7 +417,7 @@ void QEglFSKmsDevice::createScreens()
|
||||
Q_FOREACH (QPlatformScreen *screen, siblings)
|
||||
static_cast<QEglFSKmsScreen *>(screen)->setVirtualSiblings(siblings);
|
||||
|
||||
if (primaryScreen)
|
||||
if (primaryScreen && m_integration->hwCursor())
|
||||
m_globalCursor = new QEglFSKmsCursor(primaryScreen);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user