Skip to content
Browse files
8248532: Every time I change keyboard language at my MacBook, Java cr…

Backport-of: 6329de45045da3ce937cd22d82e74c3f142ea3f2
  • Loading branch information
Olga Mikhaltsova authored and Yuri Nesterenko committed Apr 26, 2021
1 parent 59f8941 commit 6fb2ac223d1998eb4d72ec7bac7a9cfa8ada3a9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java.desktop/macosx/native/libawt_lwawt/awt/AWTView.m
@@ -1366,7 +1366,7 @@ - (void)setInputMethod:(jobject)inputMethod

NSTextInputContext *curContxt = [NSTextInputContext currentInputContext];
kbdLayout = curContxt.selectedKeyboardInputSource;
[[NSNotificationCenter defaultCenter] addObserver:self
[[NSNotificationCenter defaultCenter] addObserver:[AWTView class]

1 comment on commit 6fb2ac2


This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 6fb2ac2 Apr 26, 2021

Please sign in to comment.