On 27 September 2015 at 02:32, Programmingkid <programmingk...@gmail.com> wrote: > 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 <programmingk...@gmail.com> > > --- > 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
Thanks, applied to cocoa.next. (This brings us into line with the other UI front ends which update the graphics first and process events second.) -- PMM