qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 RESEND 11/11] Cocoa: Use optimized drawing for th


From: Andreas Färber
Subject: [Qemu-devel] [PATCH v2 RESEND 11/11] Cocoa: Use optimized drawing for the window
Date: Wed, 6 Jan 2010 23:47:17 +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 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];
 
-- 
1.6.5.3





reply via email to

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