Mir

Code review comment for lp:~andreas-pokorny/mir/use-input-channel-to-send-input

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

That's too low level. It's the android::InputDispatcher responsibility to shepherd events through android::InputChannels.

What is needed is something like a mir::input::Surface::consume_event(MirEvent) that, under
the hood, calls eventually android::InputDispatcher::notifyMotion(event,
surface->input_channel). Doing exactly what
MirSurfaceItem::dispatchTouchEventToMirInputChannel from lp:~unity-team/+junk
/qpa-mirserver does.

review: Needs Fixing

« Back to merge proposal