Hi, when xterm has keyboard focus, but mouse pointer is outside of the window (or even on Window's blue title bar):
- all blind keys are ignored: o instead of 'à' (key '`' then 'a') you get just a normal 'a' o can't type '^' character (on a German keyboard done with blind '^' key then space) -> you will just get the space instead o same with '`' or '´': all blind keys are affected - can't paste text with the mouse - all other keys work as expected Effect: - While working and not noticing that the mouse pointer slowly left the window, in vi you want to jump to mark a (typing `a). '`' is ignored and the 'a' brings vi into append mode! - typing something like ":%s/^xxx/yyy/" is annoying, because you can't type ^, until you reposition the mouse pointer inside the window 100 % reproducable. When the mouse pointer is inside the xterm, everything works fine: you get à or ^ and can paste text. It makes no difference whether I use XWin.20110803-git-a493c0465e56ce0b or XWin.exe from the release. Logs of xev and XWin.log (with -logverbose 3) are in the attachment. The XWin.logs are the same regardless if mouse is inside or outside, but I notice a small difference in xev's output. Thanks & regards, Paul
KeyPress event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 6034149, (-65,-31), root:(1064,196), state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES, XLookupString gives 1 bytes: (5e) "^" XFilterEvent returns: False KeyRelease event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 6034243, (-65,-31), root:(1064,196), state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES, XLookupString gives 1 bytes: (5e) "^" XFilterEvent returns: False KeyPress event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 6035631, (-65,-31), root:(1064,196), state 0x0, keycode 65 (keysym 0x20, space), same_screen YES, XLookupString gives 1 bytes: (20) " " XFilterEvent returns: False KeyRelease event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 6035741, (-65,-31), root:(1064,196), state 0x0, keycode 65 (keysym 0x20, space), same_screen YES, XLookupString gives 1 bytes: (20) " " XFilterEvent returns: False
[ 5642.306] winTranslateKey: wParam 000000dc lParam 00290001 [ 5642.306] winSendKeyEvent: dwKey: 41, fDown: 1, nEvents 2 [ 5642.353] winTranslateKey: wParam 000000dc lParam c0290001 [ 5642.353] winSendKeyEvent: dwKey: 41, fDown: 0, nEvents 2 [ 5643.944] winTranslateKey: wParam 00000020 lParam 00390001 [ 5643.944] winSendKeyEvent: dwKey: 57, fDown: 1, nEvents 2 [ 5644.053] winTranslateKey: wParam 00000020 lParam c0390001 [ 5644.053] winSendKeyEvent: dwKey: 57, fDown: 0, nEvents 2
KeyPress event, serial 20, synthetic NO, window 0xa00001, root 0x101, subw 0xa00002, time 6030249, (49,37), root:(1178,264), state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES, XLookupString gives 1 bytes: (5e) "^" XFilterEvent returns: False KeyRelease event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0xa00002, time 6030359, (49,37), root:(1178,264), state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES, XLookupString gives 1 bytes: (5e) "^" XFilterEvent returns: False KeyPress event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0xa00002, time 6031638, (49,37), root:(1178,264), state 0x0, keycode 65 (keysym 0x20, space), same_screen YES, XLookupString gives 1 bytes: (20) " " XFilterEvent returns: False KeyRelease event, serial 23, synthetic NO, window 0xa00001, root 0x101, subw 0xa00002, time 6031747, (49,37), root:(1178,264), state 0x0, keycode 65 (keysym 0x20, space), same_screen YES, XLookupString gives 1 bytes: (20) " " XFilterEvent returns: False
[ 5627.268] winTranslateKey: wParam 000000dc lParam 00290001 [ 5627.268] winSendKeyEvent: dwKey: 41, fDown: 1, nEvents 2 [ 5627.346] winTranslateKey: wParam 000000dc lParam c0290001 [ 5627.346] winSendKeyEvent: dwKey: 41, fDown: 0, nEvents 2 [ 5628.968] winTranslateKey: wParam 00000020 lParam 00390001 [ 5628.984] winSendKeyEvent: dwKey: 57, fDown: 1, nEvents 2 [ 5629.093] winTranslateKey: wParam 00000020 lParam c0390001 [ 5629.093] winSendKeyEvent: dwKey: 57, fDown: 0, nEvents 2
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/