Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 53fecba

Browse files
committedJan 22, 2021
8258805: Japanese characters not entered by mouse click on Windows 10
Reviewed-by: aivanov
1 parent a887177 commit 53fecba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎src/java.desktop/windows/classes/sun/awt/windows/WInputMethod.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -360,6 +360,11 @@ public void deactivate(boolean isTemporary)
360360
}
361361
isActive = false;
362362
hasCompositionString = isCompositionStringAvailable(context);
363+
364+
// IME is going to be disabled commit the composition string
365+
if (hasCompositionString) {
366+
endComposition();
367+
}
363368
}
364369

365370
/**

0 commit comments

Comments
 (0)