xcb: replace a warning with debug info in qxcbconnection_xi2.cpp

Fixes: QTBUG-117820
Pick-to: 6.5
Change-Id: I3b89305e1a8d92a02166efee7067108572f7a97a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 42d9c1913a504423783397adf6e6a77545f857ac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Liang Qi 2023-10-06 09:48:33 +02:00 committed by Qt Cherry-pick Bot
parent a76492a5c0
commit c9cb83d212

View File

@ -766,7 +766,7 @@ void QXcbConnection::xi2HandleEvent(xcb_ge_event_t *event)
if (auto device = QPointingDevicePrivate::pointingDeviceById(sourceDeviceId))
xi2HandleScrollEvent(event, device);
else
qCWarning(lcQpaXInputEvents) << "scroll event from unregistered device" << sourceDeviceId;
qCDebug(lcQpaXInputEvents) << "scroll event from unregistered device" << sourceDeviceId;
if (xiDeviceEvent) {
switch (xiDeviceEvent->event_type) {