qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 11/11] Cocoa: Use optimized drawing for the window


From: Andreas Färber
Subject: [Qemu-devel] [PATCH 11/11] Cocoa: Use optimized drawing for the window
Date: Sun, 13 Dec 2009 03:55:41 +0100

Default is NO.

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

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];
 
-- 
1.6.5.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]