ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:]
commit0f7be47abe86aaf5be791373434bdcf013a1f2ee
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sat, 24 Feb 2024 12:43:33 +0000 (24 21:43 +0900)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Mar 2024 11:04:41 +0000 (5 12:04 +0100)
treef2a2c13d9a5eaca9bd6da4718f86946c4d65fcdc
parentaf4efbccda6729e2986ae225718bd60657d00592
ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:]

Instead of using mouse_event variable to tell to handle a mouse event
later, immediately call [-QemuCocoaView handleMouseEvent:buttons:].

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Rene Engel <ReneEngel80@emailn.de>
Message-ID: <20240224-cocoa-v12-2-e89f70bdda71@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
ui/cocoa.m