mirror of
https://github.com/openjdk/jdk8u.git
synced 2025-12-11 05:44:42 -06:00
8258805: Japanese characters not entered by mouse click on Windows 10
Reviewed-by: andrew Backport-of: 53fecba709ed3e748d36e150d950bfae79ab48b1
This commit is contained in:
parent
7cca626037
commit
6a3f7bb9a0
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user