public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* fvwm2 key mappings stop working
@ 2011-03-04 20:42 Keith Thompson
2011-03-22 13:14 ` Jon TURNEY
0 siblings, 1 reply; 2+ messages in thread
From: Keith Thompson @ 2011-03-04 20:42 UTC (permalink / raw)
To: cygwin-xfree; +Cc: Keith Thompson
Quick summary: My fvwm2 key mappings, defined in $HOME/.fvwm2rc,
initially work, but they stop working when I switch to another MS
Windows app and back again.
This is a problem that appeared in the last few weeks. It's likely
that I ran setup.exe and updated a few things around the time it
started; there may also have been a change in my Windows system.
(Sorry, I wish I could be less vague.)
I'm running Cygwin with the latest updates under Windows XP SP3.
I'm seeing this problem on two different (but similarly configured)
systems, a Dell laptop and a Dell desktop.
I start the X server with the command:
XWin -engine 2 -nodecoration -emulate3buttons &
(I had some Cygwin-specific reason for adding the "-engine 2"
option, but I don't remember what it was. The man page says it uses
"Shadow DirectDraw".)
I then start fvwm2 with the command:
fvwm2 &
My $HOME/.fvwm2rc file is rather large and has accumulated a lot of
cruft over the 11 years I've been using it. I can provide a copy
if necessary, or try a stripped down version to see if it still
exhibits the problem, but for now I'll just mention the lines that
I think are relevant:
# KEYBOARD Setup
#
# press arrow + control anywhere, and scroll by 1 page
Key Left A C Scroll -100 +0
Key Right A C Scroll +100 +0
Key Up A C Scroll +0 -100
Key Down A C Scroll +0 +100
What this *should* do is, for example, let me press
control-left-arrow to jump left by one page, or control-right-arrow
to jump right by one page.
And in fact that's exactly what happens -- but only initially.
When I first launch the X server and window manager, these and my other
fvwm2 key bindings work correctly.
But as soon as I use alt-tab to switch to another MS Windows
application, then switch back to X, they stop working. Instead,
pressing control-left-arrow sends the sequence ^[[D (escape,
left-bracket, D) to the X application that currently has focus
(typically xterm).
(Unfortunately, staying in X Windows forever is not an option.)
Is this a known problem? Any suggestions for fixing it or working
around it?
Thanks.
--
Keith Thompson (The_Other_Keith) kst@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fvwm2 key mappings stop working
2011-03-04 20:42 fvwm2 key mappings stop working Keith Thompson
@ 2011-03-22 13:14 ` Jon TURNEY
0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2011-03-22 13:14 UTC (permalink / raw)
To: cygwin-xfree; +Cc: kst
On 04/03/2011 20:41, Keith Thompson wrote:
> Quick summary: My fvwm2 key mappings, defined in $HOME/.fvwm2rc,
> initially work, but they stop working when I switch to another MS
> Windows app and back again.
>
> This is a problem that appeared in the last few weeks. It's likely
> that I ran setup.exe and updated a few things around the time it
> started; there may also have been a change in my Windows system.
> (Sorry, I wish I could be less vague.)
[snip]
> Is this a known problem? Any suggestions for fixing it or working
> around it?
As a first step, I'd suggest that you try running 'xev' and see if the
keypress events the X server is generating change after switching to a native
app and back again. That should help to narrow down if this is a problem in
the X server or in fvwm2
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-22 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 20:42 fvwm2 key mappings stop working Keith Thompson
2011-03-22 13:14 ` Jon TURNEY
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).