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 a887177 commit 53fecbaCopy full SHA for 53fecba
src/java.desktop/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
@@ -360,6 +360,11 @@ public void deactivate(boolean isTemporary)
360
}
361
isActive = false;
362
hasCompositionString = isCompositionStringAvailable(context);
363
+
364
+ // IME is going to be disabled commit the composition string
365
+ if (hasCompositionString) {
366
+ endComposition();
367
+ }
368
369
370
/**
0 commit comments