Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
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 6fb2ac2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.