client: Provide seat name to QPointingDevice
Followup to c16f6d40518fce6576c311c658956e21f7d52372 Task-number: QTBUG-85272 Task-number: QTBUG-115207 Pick-to: 6.8 Change-Id: Icb6053e76432bb9ef58f1457da073695a674c6f6 Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
4ef2c11560
commit
e168e1fc80
@ -446,7 +446,7 @@ void QWaylandInputDevice::seat_capabilities(uint32_t caps)
|
||||
mTouchPadDevice = new QPointingDevice(
|
||||
QLatin1String("touchpad"), 0, QInputDevice::DeviceType::TouchPad,
|
||||
QPointingDevice::PointerType::Finger, QInputDevice::Capability::Position,
|
||||
MaxTouchPoints, 0, QString(), QPointingDeviceUniqueId(), this);
|
||||
MaxTouchPoints, 0, mSeatName, QPointingDeviceUniqueId(), this);
|
||||
QWindowSystemInterface::registerInputDevice(mTouchPadDevice);
|
||||
mPointerGesturePinch.reset(pointerGestures->createPointerGesturePinch(this));
|
||||
mPointerGesturePinch->init(pointerGestures->get_pinch_gesture(mPointer->object()));
|
||||
@ -467,7 +467,7 @@ void QWaylandInputDevice::seat_capabilities(uint32_t caps)
|
||||
mTouchDevice = new QPointingDevice(
|
||||
QLatin1String("some touchscreen"), 0, QInputDevice::DeviceType::TouchScreen,
|
||||
QPointingDevice::PointerType::Finger, QInputDevice::Capability::Position,
|
||||
MaxTouchPoints, 0,QString(), QPointingDeviceUniqueId(), this);
|
||||
MaxTouchPoints, 0, mSeatName, QPointingDeviceUniqueId(), this);
|
||||
QWindowSystemInterface::registerInputDevice(mTouchDevice);
|
||||
}
|
||||
} else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && mTouch) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user