On Sat, 09 May 2026 19:34:14 +0900, Akihiko Odaki <[email protected]> wrote:
Hi, > > diff --git a/ui/input.c b/ui/input.c > index 52ab7beb942..a3ced08429e 100644 > --- a/ui/input.c > +++ b/ui/input.c > @@ -159,16 +159,55 @@ void qmp_input_send_event(const char *device, > [ ... skip 30 lines ... ] > + g_assert_not_reached(); > + } > + > + evt.key.key.type = KEY_VALUE_KIND_QCODE; > + evt.key.key.u.qcode.data = code; > + evt.key.key = *qapi->u.key.data->key; You are overwriting the QCODE/code with this assignment. Swap the lines? -- Marc-André Lureau <[email protected]>
