Patchwork [v2,RESEND,11/11] Cocoa: Use optimized drawing for the window

login
register
mail settings
Submitter Andreas Färber
Date Jan. 6, 2010, 10:47 p.m.
Message ID <1262818037-926-12-git-send-email-andreas.faerber@web.de>
Download mbox | patch
Permalink /patch/42356/
State New
Headers show

Comments

Andreas Färber - Jan. 6, 2010, 10:47 p.m.
Default is NO.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
---
 cocoa.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/cocoa.m b/cocoa.m
index bb4325c..56c789a 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];