qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 3/4] ui/cocoa: Add cursor composition


From: Phil Dennis-Jordan
Subject: Re: [PATCH v2 3/4] ui/cocoa: Add cursor composition
Date: Fri, 5 Jul 2024 12:52:00 +0200

I've just tried to rebase my own patches on top of this work and noticed the following typo:

On Thu, 27 Jun 2024 at 13:17, Akihiko Odaki <akihiko.odaki@daynix.com> wrote:
 static void cocoa_refresh(DisplayChangeListener *dcl);
+static void cocoa_mouse_set(DisplayChangeListener *dcl, int x, int y, int on);
 
The above prototype does not match the below definition - note the type mismatch on the last parameter:

+static void cocoa_mouse_set(DisplayChangeListener *dcl, int x, int y, bool on)
+{
+    dispatch_async(dispatch_get_main_queue(), ^{
+        [cocoaView setMouseX:x y:y on:on];
+    });
+}
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]