diff options
author | Sven Gothel <[email protected]> | 2013-12-04 07:51:30 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-12-04 07:51:30 +0100 |
commit | 8512777873461ee33d8ed913ee26bafc00a08a02 (patch) | |
tree | 19f54bc8a1f6137514615ba41f35c8b0fde6df85 /src/newt | |
parent | 0237bde0f3c13d393c3942b41f79656a80fd578d (diff) |
Bug 919 - TestNewtKeyCodesAWT w/ NewtCanvasAWT Fails on Windows Due to Clogged Key-Release Event by AWT Robot
Impact: Only unit test code
- TestNewtKeyCodesAWT:
Fix Bug 919 - Move mouse bacl/forth while waiting for events ..
- Use common wait for key timeout/polling using constants in NEWTKeyUtil
- InputEventCountAdapter:
'getQueued()' -> 'copyQueue()' - ensuring queue is copied while instance is locked.
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/native/WindowsWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index 18bff1997..dd0150e78 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -487,8 +487,8 @@ static void ParseWmVKeyAndScanCode(USHORT winVKey, BYTE winScanCode, BYTE flags, *outJavaVKeyXX = javaVKeyXX; #ifdef DEBUG_KEYS - STD_PRINT("*** WindowsWindow: ParseWmVKeyAndScanCode winVKey 0x%X, winScanCode 0x%X, winScanCodeExt 0x%X, flags 0x%X -> UTF(0x%X, %c, res %d, sizeof %d), vKeys( US(win 0x%X, java 0x%X), XX(win 0x%X, java 0x%X))\n", - (int)winVKey, (int)winScanCode, winScanCodeExt, (int)flags, + STD_PRINT("*** WindowsWindow: ParseWmVKeyAndScanCode winVKey 0x%X, winScanCode 0x%X, flags 0x%X -> UTF(0x%X, %c, res %d, sizeof %d), vKeys( US(win 0x%X, java 0x%X), XX(win 0x%X, java 0x%X))\n", + (int)winVKey, (int)winScanCode, (int)flags, *outUTF16Char, *outUTF16Char, nUniChars, sizeof(uniChars[0]), winVKeyUS, javaVKeyUS, winVKey, javaVKeyXX); #endif |