mirror of https://gitee.com/openkylin/qemu.git
Cocoa: Use optimized drawing for the window
Default is NO. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
123810851e
commit
561ef251e7
1
cocoa.m
1
cocoa.m
|
@ -740,6 +740,7 @@ - (id) init
|
|||
[normalWindow setAcceptsMouseMovedEvents:YES];
|
||||
[normalWindow setTitle:[NSString stringWithFormat:@"QEMU"]];
|
||||
[normalWindow setContentView:cocoaView];
|
||||
[normalWindow useOptimizedDrawing:YES];
|
||||
[normalWindow makeKeyAndOrderFront:self];
|
||||
[normalWindow center];
|
||||
|
||||
|
|
Loading…
Reference in New Issue