]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
input: Allow to choose console with qemu_input_is_absolute
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 21 Sep 2023 08:29:34 +0000 (17:29 +0900)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 3 Oct 2023 11:04:56 +0000 (15:04 +0400)
commit0337e4123e62721bd0bcb4d5645fee2a31e8906d
treeec7f8f7e9894c6fdedbf10d5b06d7ca8067a8c69
parent50d0bfd0ed78209f003e8f7b9ac25edaa0399157
input: Allow to choose console with qemu_input_is_absolute

Although an input is routed depending on the console,
qemu_input_is_absolute() had no mechanism to specify the console.

Accept QemuConsole as an argument for qemu_input_is_absolute, and let
the display know the absolute/relative state for a particular console.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230921082936.28100-1-akihiko.odaki@daynix.com>
include/ui/input.h
ui/cocoa.m
ui/dbus-console.c
ui/gtk.c
ui/input.c
ui/sdl2.c
ui/spice-input.c
ui/trace-events
ui/vnc.c