public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bug report for cygwin X server (or xterm)
@ 2022-03-10  9:37 n952162
  2022-03-30  7:56 ` n952162
  0 siblings, 1 reply; 2+ messages in thread
From: n952162 @ 2022-03-10  9:37 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug report for cygwin X server (or xterm)
  2022-03-10  9:37 Bug report for cygwin X server (or xterm) n952162
@ 2022-03-30  7:56 ` n952162
  0 siblings, 0 replies; 2+ messages in thread
From: n952162 @ 2022-03-30  7:56 UTC (permalink / raw)
  To: cygwin

Am 10.03.2022 um 10:37 schrieb n952162:
> 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.
>

This last point leads me to the conclusion that this is perhaps a
porting problem of the xterm virtual terminal program, because when
xterm is executing on another machine, it doesn't happen.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-30  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10  9:37 Bug report for cygwin X server (or xterm) n952162
2022-03-30  7:56 ` n952162

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).