input: mouse: switch legacy handlers to new core
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 27 Nov 2013 16:41:40 +0000 (17:41 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Mar 2014 08:52:02 +0000 (09:52 +0100)
commitedd85a3d9eff57f92f3c07a51eec5452ca8a24ef
tree7dee8df7f70821e2b9c2727090f1342424affebd
parent502c8db5b41bb3206ad136fa4baa753c186c9ebd
input: mouse: switch legacy handlers to new core

legacy mouse event handlers are registered in the new core,
so they receive events submitted to the new input core.

legacy kbd_mouse_event() continues to use the old code paths.
So new-core event handlers wouldn't see events submitted via
kbd_mouse_event.

This leads to the constrain that we we must transition all
kbd_mouse_event() users first to keep things working.  But
that is easier to handle than translating legacy mouse events
into new-core mouse events ;)

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/input-legacy.c