Received: from eggs.gnu.org ([2001:4830:134:3::10]:55457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg0pW-0000jt-5C for qemu-devel@nongnu.org; Sat, 26 Sep 2015 21:32:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zg0pR-00024s-62 for qemu-devel@nongnu.org; Sat, 26 Sep 2015 21:32:42 -0400 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:36032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zg0pR-00024k-1W for qemu-devel@nongnu.org; Sat, 26 Sep 2015 21:32:37 -0400 Received: by qkcf65 with SMTP id f65so55919501qkc.3 for ; Sat, 26 Sep 2015 18:32:36 -0700 (PDT) From: Programmingkid Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 26 Sep 2015 21:32:34 -0400 Message-Id: Mime-Version: 1.0 (Apple Message framework v1084) Subject: [Qemu-devel] [PATCH] ui/cocoa.m: blinky mouse cursor fix List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel qemu-devel The mouse cursor can become blinky when being moved a lot. This patch = fixes that problem by issuing the redraw sooner.=20 Signed-off-by: John Arbuckle --- ui/cocoa.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 334e6f6..cf372a4 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -1275,6 +1275,7 @@ static void cocoa_refresh(DisplayChangeListener = *dcl) NSAutoreleasePool * pool =3D [[NSAutoreleasePool alloc] init]; =20 COCOA_DEBUG("qemu_cocoa: cocoa_refresh\n"); + graphic_hw_update(NULL); =20 if (qemu_input_is_absolute()) { if (![cocoaView isAbsoluteEnabled]) { @@ -1295,7 +1296,6 @@ static void cocoa_refresh(DisplayChangeListener = *dcl) [cocoaView handleEvent:event]; } } while(event !=3D nil); - graphic_hw_update(NULL); [pool release]; } =20 --=20 1.7.5.4