We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cca626 commit 6a3f7bbCopy full SHA for 6a3f7bb
jdk/src/windows/classes/sun/awt/windows/WInputMethod.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -355,6 +355,11 @@ public void deactivate(boolean isTemporary)
355
}
356
isActive = false;
357
hasCompositionString = isCompositionStringAvailable(context);
358
+
359
+ // IME is going to be disabled commit the composition string
360
+ if (hasCompositionString) {
361
+ endComposition();
362
+ }
363
364
365
/**
0 commit comments