> The only way I see of saving MirSurface from knowing about DPR is passing it
> the event data directly as parameters instead of giving it the whole QEvent.
>
> Eg:
>
> MirSurface::mouseMoveEvent(QMouseEvent *event, qreal dpr)
>
> Would be:
>
> MirSurface::mouseMoveEvent(Qt::MouseButtons buttons, ulong timestamp,
> Qt::KeyboardModifiers modifiers, int x, int y)
>
> Which is actually not a bad thing.
> The only way I see of saving MirSurface from knowing about DPR is passing it :mouseMoveEvent (QMouseEvent *event, qreal dpr) :mouseMoveEvent (Qt::MouseButto ns buttons, ulong timestamp, ifiers modifiers, int x, int y)
> the event data directly as parameters instead of giving it the whole QEvent.
>
> Eg:
>
> MirSurface:
>
> Would be:
>
> MirSurface:
> Qt::KeyboardMod
>
> Which is actually not a bad thing.
For touch events too?