Fix the problem that the candidate box cannot pop up when entering Chinese in macOS 10.15 and above systems under the VMware virtual machine https://bugs.winehq.org/show_bug.cgi?id=47990
From: sonyps5201314 sonyps5201314@gmail.com
--- dlls/winemac.drv/cocoa_app.m | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index d9d56da20f8..9f15abb9bc2 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -213,6 +213,11 @@ static NSString* WineLocalizedString(unsigned int stringID) } [super dealloc]; } + + - (void)applicationDidFinishLaunching:(NSNotification *)notification + { + [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory]; + }
- (void) transformProcessToForeground:(BOOL)activateIfTransformed {
You patches don't meet the style criteria for Wine. Please read through this for more information: https://wiki.winehq.org/Submitting_Patches