X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4E304385E021
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=web.de
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=web.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1646905061;
 bh=39jB5Wu7M7A8G+95hnxgtYx9A9YFe+6nkk7B7SLGTYo=;
 h=X-UI-Sender-Class:Date:To:From:Subject;
 b=U0dHybS29nPMm9UFDVqDzAmfc8c2YpyZg8hjN2pS7XwIsyeeTQc4ioymuvrG1OAQ4
 P8serHaAEKeBbALIb9axiolP2hCliXsvc07flDxkrw2Hyiy4nFul/8Z/0w8L+AZ/F3
 Gyf79PVNyv2qvsRB/3oWPsORxWtduGluEvHyxbEk=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Message-ID: <0c793a07-deef-da10-1108-0de8802c5c5f@web.de>
Date: Thu, 10 Mar 2022 10:37:40 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.6.1
To: cygwin@cygwin.com
From: n952162 <n952162@web.de>
Subject: Bug report for cygwin X server (or xterm)
X-Provags-ID: V03:K1:d7dWYGIfXqEVyJxS1Ji5Ym7k+pEaEM6y5O9FdBlxMEIizF4xW6P
 vRr7CqOtLDCE2pv8VRT/+rWSM9BsDe16QYvXgyBNtQFrZmxCsgLzmzDjkLf7/A67NPm+zYc
 6/DjnGjnVUQldPaRHtOSjcJzp2dNWVZz0j2HGJ2LhlE1WnhPOjtIJMoNzno7Zrvt57ye3kT
 wkdEmvmG1v8dQxFkg052Q==
X-UI-Out-Filterresults: notjunk:1;V03:K0:U2xb82BGxW4=:7fyqq3oO50mxZqeb7t3Kqs
 ONKaKXocgPW2KQa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DhuvgFXyiFKXh6v8iN5kB8MDbfLwOPvlWDSMYJzpg
 pkPflYPV3qeCbY=
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,
 RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 22A9cKXh004482

xterm*VT100.Translations only when mouse is over the window with focus

Discovered with click-to-focus, in FVWM

In particular, I'm talking about the function keys. In this case, these
are NOT mapped in fvwm, but in xterm.

Pressing a function key, like F1, always writes to the window with
focus, but only performs the X11/xterm translations when the mouse is
hovering over the window with focus.

So, I always have to move the mouse to the window to be able to write to
the window. Otherwise, \e[P is written to the window, for example

Note that I can visit various windows with keyboard shortcuts, so
there's no natural correspondence with mouse position and window focus.

This failure to do the X11/xterm translation only occurs with x11/cygwin
xterms. Windows opened locally via sshd (port forwarded) behave
normally, performing the translation to the focused window, no matter
where the mouse is.

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.21.1.3
OS: CYGWIN_NT-10.0-19042 me 3.3.4-341.x86_64 2022-01-31 19:35 UTC x86_64
OS: Windows 10  [Windows NT 10.0 build 19042] x64
Package: version 21.1.3-1 built 2022-01-14

XWin was started with the following command line:

/usr/bin/X :0 -auth /home/ge45tep/.serverauth.6258


00675~>xterm -version
XTerm(370)


fvwm 2.6.6 compiled on Oct 10 2016 at 00:25:52 with support for:
ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, Xinerama, XRender,
XCursor, XFT, NLS

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

