public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Charles Smith <cts.private@yahoo.com>
To: cygwin-xfree@cygwin.com
Subject: Re: fvwm ignores clickToFocus for function keys
Date: Tue, 26 Oct 2010 20:04:00 -0000	[thread overview]
Message-ID: <677604.51674.qm@web63706.mail.re1.yahoo.com> (raw)

> When typing in an in-focus xterm, but the mouse cursor is elsewhere, if I hit a function key, the programmed action does not occur.  Instead, something else occurs, which I cannot identify (involving insertion of characters and/or other actions).  When the mouse is positioned directly inside the window, the programmed action occurs normally.
> 
> This is different than the operation of fvwm under linux.  In that case, an in-focus xterm takes function key input as well as other key input, regardless where the mouse cursor is.
> 
> Thus, if I have programmed the xterm F12 key to send:
> 
>   2>&1 | less <nl>
> 
> it is only received by bash if the mouse is positioned inside the window.  This is a problem if I entered a command (other key input obeys the clickToFocus directive) and then hit F12, and some unidentifiable garbage gets inserted.
> 
> 
> I can't verify that this is a cygwin problem, but hours of googling haven't revealed any mention of the problem at all, an any platform.
> 
> Interestingly, I just noticed that the arrow keys seem to work normally, regardless of the position of the mouse.  It's only the function keys that behave poorly.
> 
> 
> Any help will be appreciated.
> 


I keep discovering new things about this problem.  I'd said previously that under linux this did not happen.  Not quite true.

It turns out that it happens if my mouse is positioned over xterm's scroll bars!

If the mouse is over the in-focus window, or any other window, or the root, the function keys work properly.  But if the mouse is positioned over the scroll bars, it sends garbage!

Furthermore, I just discovered something even more interesting - if the mouse is positioned over the title bar, the cut buffer gets modified ... uh oh, this is starting to sound like a configuration issue... but that was all on linux (suse 10.3).

On cygwin it's wrong whenever the mouse is not over the in-focus window.



      

--
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/


             reply	other threads:[~2010-10-26 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26 20:04 Charles Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-09-26 11:28 Charles Smith
2010-09-27 15:26 ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=677604.51674.qm@web63706.mail.re1.yahoo.com \
    --to=cts.private@yahoo.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).