Send keyboard repeat information
Complete the API for keyboard rate and delay that was previously implemented sending the information to clients. Back then this wasn't possible for lack of Wayland >= 1.6 on the CI system. Change-Id: I95bab22bf4eea6549d2f8a762341c6485a24665c Reviewed-by: Johan Helsing <johan.helsing@theqtcompany.com> Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
This commit is contained in:
parent
5324f6af4d
commit
93ee329289
@ -173,10 +173,10 @@ QWaylandInputDevice::Touch::~Touch()
|
|||||||
|
|
||||||
QWaylandInputDevice::QWaylandInputDevice(QWaylandDisplay *display, int version, uint32_t id)
|
QWaylandInputDevice::QWaylandInputDevice(QWaylandDisplay *display, int version, uint32_t id)
|
||||||
: QObject()
|
: QObject()
|
||||||
, QtWayland::wl_seat(display->wl_registry(), id, qMin(version, 3))
|
, QtWayland::wl_seat(display->wl_registry(), id, qMin(version, 4))
|
||||||
, mQDisplay(display)
|
, mQDisplay(display)
|
||||||
, mDisplay(display->wl_display())
|
, mDisplay(display->wl_display())
|
||||||
, mVersion(qMin(version, 3))
|
, mVersion(qMin(version, 4))
|
||||||
, mCaps(0)
|
, mCaps(0)
|
||||||
, mDataDevice(0)
|
, mDataDevice(0)
|
||||||
, mKeyboard(0)
|
, mKeyboard(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user