From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8448 invoked by alias); 7 Aug 2011 09:06:00 -0000 Received: (qmail 8438 invoked by uid 22791); 7 Aug 2011 09:05:59 -0000 X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fmmailgate02.web.de (HELO fmmailgate02.web.de) (217.72.192.227) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 07 Aug 2011 09:05:45 +0000 Received: from smtp04.web.de ( [172.20.0.225]) by fmmailgate02.web.de (Postfix) with ESMTP id A0F2B1A88D58C for ; Sun, 7 Aug 2011 11:05:43 +0200 (CEST) Received: from [84.150.156.171] (helo=lp21723) by smtp04.web.de with esmtp (WEB.DE 4.110 #2) id 1QpzIl-0002pl-00 for cygwin-xfree@cygwin.com; Sun, 07 Aug 2011 11:05:43 +0200 From: "Paul Maier" To: Subject: Can't paste text or type blind keys when mouse is out of the window Date: Sun, 07 Aug 2011 09:06:00 -0000 Message-ID: <000901cc54e1$1dca8c50$595fa4f0$@de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000A_01CC54F1.E1535C50" X-Sender: svn-user@web.de X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-08/txt/msg00015.txt.bz2 ------=_NextPart_000_000A_01CC54F1.E1535C50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1269 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 '=E0' (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 '=B4': 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 win= dow, 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 =E0 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 ------=_NextPart_000_000A_01CC54F1.E1535C50 Content-Type: text/plain; name="mouseOutside-xev.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mouseOutside-xev.txt" Content-length: 1091 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 ------=_NextPart_000_000A_01CC54F1.E1535C50 Content-Type: text/plain; name="mouseOutside-XWin.log.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mouseOutside-XWin.log.txt" Content-length: 492 [ 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 ------=_NextPart_000_000A_01CC54F1.E1535C50 Content-Type: text/plain; name="mouseInside-xev.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mouseInside-xev.txt" Content-length: 1104 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 ------=_NextPart_000_000A_01CC54F1.E1535C50 Content-Type: text/plain; name="mouseInside-XWin.log.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mouseInside-XWin.log.txt" Content-length: 493 [ 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 ------=_NextPart_000_000A_01CC54F1.E1535C50 Content-Type: text/plain; charset=us-ascii Content-length: 223 -- 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/ ------=_NextPart_000_000A_01CC54F1.E1535C50--