Skip to content
Snippets Groups Projects
user avatar
Igor Mammedov authored
Mouse gets "stuck" after restore of PV guest but buttons are in working
condition.

If driver has been configured for ABS coordinates at start it will get
XENKBD_TYPE_POS events and then suddenly after restore it'll start getting
XENKBD_TYPE_MOTION events, that will be dropped later and they won't get
into user-space.

Regression was introduced by hunk 5 and 6 of
5ea5254a
("Input: xen-kbdfront - advertise either absolute or relative
coordinates").

Driver on restore should ask xen for request-abs-pointer again if it is
available. So restore parts that did it before 5ea5254a.

Acked-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarIgor Mammedov <imammedo@redhat.com>
[v1: Expanded the commit description]
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
c36b58e8
History
Name Last commit Last update