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

login
register
mail settings
Submitter Andreas Färber
Date Dec. 13, 2009, 2:55 a.m.
Message ID <1260672941-9365-12-git-send-email-andreas.faerber@web.de>
Download mbox | patch
Permalink /patch/41016/
State New
Headers show

Comments

Andreas Färber - Dec. 13, 2009, 2:55 a.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 7179151..fa64cf3 100644
--- a/cocoa.m
+++ b/cocoa.m
@@ -742,6 +742,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];