xenfb: activate input handlers for raw pointer devices
commitd12c5b7ddf2cee57f3e72fe6f450203a9ab455ed
authorOwen Smith <owen.smith@citrix.com>
Fri, 3 Nov 2017 11:56:31 +0000 (3 11:56 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 14 Dec 2017 23:24:43 +0000 (14 15:24 -0800)
tree234046de7a01cd785da5ed65e48fdd3de607a95b
parent34975e536f3531ad852d724a46280b882ec1bc9d
xenfb: activate input handlers for raw pointer devices

If the frontend requests raw pointers, the input handlers must be
activated to have the input events delivered to the xenfb backend.
Without activation, the input events are delivered to handlers
registered earlier, which would be the emulated USB tablet or
emulated PS/2 mouse.
HVM xen_kbdfront can incorrectly scale absolute coordinates when
the display resolution is not 800x600.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/display/xenfb.c