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

Fixes: QTBUG-117820
Pick-to: 6.6 6.5
Change-Id: I3b89305e1a8d92a02166efee7067108572f7a97a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Liang Qi 2023-10-06 09:48:33 +02:00
parent 22029a76c3
commit 42d9c1913a

View File

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