Skip to content

input-linux: Allow to toggle grab from QMP

Rainer Müller qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2input-linux: Delay grab toggle if keys are pressedui/input-linux.c+6 -13 replies
2/2input-linux: Allow to toggle grab from QMPqapi/qom.json ui/input-linux.c+38 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] input-linux: Allow to toggle grab from QMP

This adds an grab-active bool option to input-linux objects to control the grab state of evdev devices from QMP. The first patch fixes a problem with multiple keyboards that was previously unlikely, as the user will only use one device at a time. It could be merged independently, but I am submitting them together as this becomes more relevant when grab state can be controlled from QMP.

Rainer Müller (2):
input-linux: Delay grab toggle if keys are pressed
input-linux: Allow to toggle grab from QMP

 qapi/qom.json    |  3 +++
 ui/input-linux.c | 46 +++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 44 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1