Module: wine Branch: master Commit: 93bc97e54f568f89b1b9bba092e37ff5dba972b9 URL: https://gitlab.winehq.org/wine/wine/-/commit/93bc97e54f568f89b1b9bba092e37ff...
Author: Tim Clem tclem@codeweavers.com Date: Fri Mar 1 13:08:51 2024 -0800
winemac.drv: Exclude the emoji Touch Bar when looking for input methods.
Fixes weird keyboard behavior on MacBooks with the Touch Bar.
---
dlls/winemac.drv/cocoa_app.m | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index de3a23a5d2d..f6a9cd145ea 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -2075,6 +2075,8 @@ static NSString* WineLocalizedString(unsigned int stringID) CFSTR("com.apple.inputmethod.AssistiveControl"), /* The popup for accented characters when you hold down a key. */ CFSTR("com.apple.PressAndHold"), + /* Emoji list on MacBooks with the Touch Bar. */ + CFSTR("com.apple.inputmethod.EmojiFunctionRowItem"), };
CFStringRef sourceID = TISGetInputSourceProperty(inputSource, kTISPropertyInputSourceID);