Commit bd7624fd authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

tablet: transform coordinates according to the output transformations

Uses the same code path we use for the mouse and touch, which was added
after the tablet patches.
parent 1ad88bdf
......@@ -567,8 +567,14 @@ void Connection::processEvents()
capabilities << InputRedirection::Wheel;
const auto *output = static_cast<AbstractWaylandOutput*>(
const QPointF globalPos =
emit tabletToolEvent(tabletEventType,
tte->transformedPosition(m_size), tte->pressure(),
globalPos, tte->pressure(),
tte->xTilt(), tte->yTilt(), tte->rotation(),
tte->isTipDown(), tte->isNearby(), serial,
toolId, toolType, capabilities, tte->time(),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment