]> Git Repo - qemu.git/commitdiff
Cocoa: Use optimized drawing for the window
authorAndreas Färber <[email protected]>
Sun, 13 Dec 2009 02:06:20 +0000 (03:06 +0100)
committermalc <[email protected]>
Thu, 7 Jan 2010 07:57:34 +0000 (10:57 +0300)
Default is NO.

Signed-off-by: Andreas Färber <[email protected]>
Signed-off-by: malc <[email protected]>
cocoa.m

diff --git a/cocoa.m b/cocoa.m
index bb4325ce0b6ef75e61e9c0eafae0dcc5e7c146a2..56c789a98c36e934cdc86be15347f93ef75b8d9c 100644 (file)
--- 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];
 
This page took 0.026763 seconds and 4 git commands to generate.