[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] ui/cocoa.m: blinky mouse cursor fix
From: |
Programmingkid |
Subject: |
[Qemu-devel] [PATCH] ui/cocoa.m: blinky mouse cursor fix |
Date: |
Sat, 26 Sep 2015 21:32:34 -0400 |
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 <address@hidden>
---
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 = [[NSAutoreleasePool alloc] init];
COCOA_DEBUG("qemu_cocoa: cocoa_refresh\n");
+ graphic_hw_update(NULL);
if (qemu_input_is_absolute()) {
if (![cocoaView isAbsoluteEnabled]) {
@@ -1295,7 +1296,6 @@ static void cocoa_refresh(DisplayChangeListener *dcl)
[cocoaView handleEvent:event];
}
} while(event != nil);
- graphic_hw_update(NULL);
[pool release];
}
--
1.7.5.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] ui/cocoa.m: blinky mouse cursor fix,
Programmingkid <=