mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-09 04:59:33 +00:00
8258805: Japanese characters not entered by mouse click on Windows 10
Reviewed-by: aivanov
This commit is contained in:
parent
a8871776e6
commit
53fecba709
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -360,6 +360,11 @@ final class WInputMethod extends InputMethodAdapter
|
||||
}
|
||||
isActive = false;
|
||||
hasCompositionString = isCompositionStringAvailable(context);
|
||||
|
||||
// IME is going to be disabled commit the composition string
|
||||
if (hasCompositionString) {
|
||||
endComposition();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user