Changeset View
Changeset View
Standalone View
Standalone View
src/tools/testserver/testserver.cpp
Context not available. | |||||
98 | m_seat->setPointerPos(m_cursorPos); | 98 | m_seat->setPointerPos(m_cursorPos); | ||
---|---|---|---|---|---|
99 | } | 99 | } | ||
100 | ); | 100 | ); | ||
101 | connect(device, &FakeInputDevice::pointerMotionAbsoluteRequested, this, | ||||
102 | [this] (const QPointF &pos) { | ||||
103 | m_seat->setTimestamp(m_timeSinceStart->elapsed()); | ||||
104 | m_cursorPos = pos; | ||||
105 | m_seat->setPointerPos(m_cursorPos); | ||||
106 | } | ||||
107 | ); | ||||
101 | connect(device, &FakeInputDevice::pointerButtonPressRequested, this, | 108 | connect(device, &FakeInputDevice::pointerButtonPressRequested, this, | ||
102 | [this] (quint32 button) { | 109 | [this] (quint32 button) { | ||
103 | m_seat->setTimestamp(m_timeSinceStart->elapsed()); | 110 | m_seat->setTimestamp(m_timeSinceStart->elapsed()); | ||
Context not available. |