mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
ui: Split hmp_mouse_set() and move the HMP part to ui/
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230109190321.1056914-17-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
006e79cdf4
commit
ec843b97f2
5 changed files with 17 additions and 10 deletions
|
@ -69,6 +69,14 @@ void hmp_mouse_button(Monitor *mon, const QDict *qdict)
|
|||
mouse_button_state = button_state;
|
||||
}
|
||||
|
||||
void hmp_mouse_set(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
Error *err = NULL;
|
||||
|
||||
qemu_mouse_set(qdict_get_int(qdict, "index"), &err);
|
||||
hmp_handle_error(mon, err);
|
||||
}
|
||||
|
||||
void hmp_info_mice(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
MouseInfoList *mice_list, *mouse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue