projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1238108
)
Cocoa: Use optimized drawing for the window
author
Andreas Färber
<andreas.faerber@web.de>
Sun, 13 Dec 2009 02:06:20 +0000
(
03:06
+0100)
committer
malc
<av1474@comtv.ru>
Thu, 7 Jan 2010 07:57:34 +0000
(10:57 +0300)
Default is NO.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: malc <av1474@comtv.ru>
cocoa.m
patch
|
blob
|
history
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];