Re: [PATCH] ui/cocoa: Use qemu_add_mouse_change_notifier

2024-06-08 Thread Phil Dennis-Jordan
This looks fine to me. I've tested it briefly with a graphical Linux guest and some tracing in the notifyMouseModeChange on a macOS 13 host. When I hot-unplug the usb-tablet I get an absolute -> relative notification; everything works in relative mode after hot-adding a USB mouse. Hot-unplugging an

[PATCH] ui/cocoa: Use qemu_add_mouse_change_notifier

2024-03-22 Thread Akihiko Odaki
This eliminates the polling in cocoa_refresh and implements the propagation of the mouse mode change from absolute to relative. Signed-off-by: Akihiko Odaki --- ui/cocoa.m | 62 ++ 1 file changed, 38 insertions(+), 24 deletions(-) diff