8258805: Japanese characters not entered by mouse click on Windows 10

Reviewed-by: andrew
Backport-of: 53fecba709ed3e748d36e150d950bfae79ab48b1
This commit is contained in:
Takuya Kiriyama 2025-11-28 01:17:00 +00:00 committed by Andrew John Hughes
parent 7cca626037
commit 6a3f7bb9a0

View File

@ -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
@ -355,6 +355,11 @@ final class WInputMethod extends InputMethodAdapter
}
isActive = false;
hasCompositionString = isCompositionStringAvailable(context);
// IME is going to be disabled commit the composition string
if (hasCompositionString) {
endComposition();
}
}
/**