This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fvwm ignores clickToFocus for function keys


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]