Re: [PATCH 1/2] input-linux: Delay grab toggle if keys are pressed

2021-05-10 Thread Gerd Hoffmann
On Sun, May 09, 2021 at 01:43:38PM +0200, Rainer Müller wrote: > On 04/05/2021 11.14, Gerd Hoffmann wrote: > > On Sat, May 01, 2021 at 09:06:21PM +0200, Rainer Müller wrote: > >> When multiple keyboards are passed to the guest with input-linux, there > >> could still be keys pressed on the other ke

Re: [PATCH 1/2] input-linux: Delay grab toggle if keys are pressed

2021-05-09 Thread Rainer Müller
On 04/05/2021 11.14, Gerd Hoffmann wrote: > On Sat, May 01, 2021 at 09:06:21PM +0200, Rainer Müller wrote: >> When multiple keyboards are passed to the guest with input-linux, there >> could still be keys pressed on the other keyboard when toggling grab. >> Delay toggling grab on the other keyboard

Re: [PATCH 1/2] input-linux: Delay grab toggle if keys are pressed

2021-05-04 Thread Gerd Hoffmann
On Sat, May 01, 2021 at 09:06:21PM +0200, Rainer Müller wrote: > When multiple keyboards are passed to the guest with input-linux, there > could still be keys pressed on the other keyboard when toggling grab. > Delay toggling grab on the other keyboard until all keys are released, > otherwise keys

[PATCH 1/2] input-linux: Delay grab toggle if keys are pressed

2021-05-01 Thread Rainer Müller
When multiple keyboards are passed to the guest with input-linux, there could still be keys pressed on the other keyboard when toggling grab. Delay toggling grab on the other keyboard until all keys are released, otherwise keys could be stuck on host without a key up event. Signed-off-by: Rainer M