mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
ui/input: Constify QemuInputHandler structure
Access to QemuInputHandlerState::handler are read-only. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <20231017131251.43708-1-philmd@linaro.org>
This commit is contained in:
@ -297,7 +297,7 @@ static void vdagent_pointer_sync(DeviceState *dev)
|
||||
}
|
||||
}
|
||||
|
||||
static QemuInputHandler vdagent_mouse_handler = {
|
||||
static const QemuInputHandler vdagent_mouse_handler = {
|
||||
.name = "vdagent mouse",
|
||||
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_ABS,
|
||||
.event = vdagent_pointer_event,
|
||||
|
Reference in New Issue
Block a user