aboutsummaryrefslogtreecommitdiff
path: root/cocoa.m
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2009-12-13 03:06:20 +0100
committermalc <av1474@comtv.ru>2010-01-07 10:57:34 +0300
commit561ef251e7896aa3c3abdab414dd154558d13d1a (patch)
tree7b5fb9879ec10269faea673d0a586e7b7e7c9648 /cocoa.m
parent123810851e24aa6dc928faeb055cb82dcb153674 (diff)
Cocoa: Use optimized drawing for the window
Default is NO. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'cocoa.m')
-rw-r--r--cocoa.m1
1 files changed, 1 insertions, 0 deletions
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];