From 561ef251e7896aa3c3abdab414dd154558d13d1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20F=C3=A4rber?= Date: Sun, 13 Dec 2009 03:06:20 +0100 Subject: [PATCH] Cocoa: Use optimized drawing for the window MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Default is NO. Signed-off-by: Andreas Färber Signed-off-by: malc --- cocoa.m | 1 + 1 file changed, 1 insertion(+) 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]; -- 2.39.2