From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn1yV-0005nM-8q for qemu-devel@nongnu.org; Fri, 16 Oct 2015 06:10:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn1yR-0001k5-9y for qemu-devel@nongnu.org; Fri, 16 Oct 2015 06:10:59 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:35157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn1yR-0001hC-3E for qemu-devel@nongnu.org; Fri, 16 Oct 2015 06:10:55 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Zn1yJ-0003iw-U7 for qemu-devel@nongnu.org; Fri, 16 Oct 2015 11:10:47 +0100 From: Peter Maydell Date: Fri, 16 Oct 2015 11:10:47 +0100 Message-Id: <1444990247-14277-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1444990247-14277-1-git-send-email-peter.maydell@linaro.org> References: <1444990247-14277-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 3/3] ui/cocoa.m: blinky mouse cursor fix List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: John Arbuckle The mouse cursor can become blinky when being moved a lot. This patch fixes that problem by issuing the redraw sooner. Signed-off-by: John Arbuckle Message-id: AAA87DD7-EC20-4F4B-B71E-C38461D9FCBA@gmail.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- ui/cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 8db8b9f..c0d6bb2 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -1287,6 +1287,7 @@ static void cocoa_refresh(DisplayChangeListener *dcl) NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; COCOA_DEBUG("qemu_cocoa: cocoa_refresh\n"); + graphic_hw_update(NULL); if (qemu_input_is_absolute()) { if (![cocoaView isAbsoluteEnabled]) { @@ -1307,7 +1308,6 @@ static void cocoa_refresh(DisplayChangeListener *dcl) [cocoaView handleEvent:event]; } } while(event != nil); - graphic_hw_update(NULL); [pool release]; } -- 1.9.1