--- old/src/java.desktop/windows/native/libawt/windows/awt_Toolkit.h 2020-08-24 08:32:55.000000000 +0100 +++ new/src/java.desktop/windows/native/libawt/windows/awt_Toolkit.h 2020-08-24 08:32:55.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2020, 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 @@ -244,6 +244,8 @@ UINT cInputs, PTOUCHINPUT pInputs, int cbSize); BOOL TICloseTouchInputHandle(HTOUCHINPUT hTouchInput); + LRESULT InvokeInputMethodFunction(UINT msg, WPARAM wParam=0, LPARAM lParam=0); + INLINE BOOL localPump() { return m_localPump; } INLINE BOOL VerifyComponents() { return FALSE; } // TODO: Use new DebugHelper class to set this flag INLINE HWND GetHWnd() { return m_toolkitHWnd; } @@ -498,6 +500,10 @@ HMODULE m_dllHandle; /* The module handle. */ CriticalSection m_Sync; + CriticalSection m_inputMethodLock; + + HANDLE m_inputMethodWaitEvent; + LRESULT m_inputMethodData; /* track display changes - used by palette-updating code. This is a workaround for a windows bug that prevents