kms: Send enter and leave events to all screens

Propage event to all sibling screens resulting in enter and leave
events being properly sent.

Change-Id: Ia89d53105f6303fae3f304ce0920b5a4a24f86ae
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Pier Luigi Fiorini 2017-06-14 22:41:54 +02:00
parent 73573fce29
commit 4e3917587b

View File

@ -240,6 +240,8 @@ void QEglFSKmsGbmCursor::setPos(const QPoint &pos)
m_pos = pos;
else
qWarning("Failed to move cursor on screen %s: %d", kmsScreen->name().toLatin1().constData(), ret);
kmsScreen->handleCursorMove(pos);
}
}