From: Andreas Färber Date: Sun, 13 Dec 2009 02:06:20 +0000 (+0100) Subject: Cocoa: Use optimized drawing for the window X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=561ef251e7896aa3c3abdab414dd154558d13d1a;p=qemu.git Cocoa: Use optimized drawing for the window Default is NO. Signed-off-by: Andreas Färber Signed-off-by: malc --- diff --git a/cocoa.m b/cocoa.m index bb4325ce0b..56c789a98c 100644 --- a/cocoa.m +++ b/cocoa.m @@ -740,6 +740,7 @@ static int cocoa_keycode_to_qemu(int keycode) [normalWindow setAcceptsMouseMovedEvents:YES]; [normalWindow setTitle:[NSString stringWithFormat:@"QEMU"]]; [normalWindow setContentView:cocoaView]; + [normalWindow useOptimizedDrawing:YES]; [normalWindow makeKeyAndOrderFront:self]; [normalWindow center];