Discussion:
FVWM: '--' key action has stopped working in the master
Alexander Gromnitsky
2017-02-27 02:35:31 UTC
Permalink
So I have

Key F4 A M Close

in .fvwm2rc for closing any window on Alt-F4. But I want the xterm app
to be exempt from such a treatment.

W/ fvwm-2.6.5, this configuration has been working flawlessly for me:

$ cat ~/.fvwm/.fvwm2rc
Key F4 A M Close
Key (XTerm) F4 A M --

$ grep allowSendEvents ~/.Xdefaults
XTerm*allowSendEvents: true

Today I've built fvwm from the master branch & have noticed that the
above trick doesn't work any more--the xterm window gets closed when I
press Alt-F4.

What could be the culprit?
Dominik Vogt
2017-03-01 17:08:57 UTC
Permalink
Post by Alexander Gromnitsky
So I have
Key F4 A M Close
in .fvwm2rc for closing any window on Alt-F4. But I want the xterm app
to be exempt from such a treatment.
$ cat ~/.fvwm/.fvwm2rc
Key F4 A M Close
Key (XTerm) F4 A M --
$ grep allowSendEvents ~/.Xdefaults
XTerm*allowSendEvents: true
Today I've built fvwm from the master branch & have noticed that the
above trick doesn't work any more--the xterm window gets closed when I
press Alt-F4.
What could be the culprit?
A bug in a patch from 2013: By accident the variable that
indicated a "--" action was evaluated before being set. I've
pushed a fix to the branch "dv/devel". Can you please try that
and see if it solves your problem? It does for me.

Ciao

Dominik ^_^ ^_^
--
Dominik Vogt
Alexander Gromnitsky
2017-03-02 03:19:40 UTC
Permalink
Post by Dominik Vogt
A bug in a patch from 2013: By accident the variable that
indicated a "--" action was evaluated before being set. I've
pushed a fix to the branch "dv/devel". Can you please try that
and see if it solves your problem? It does for me.
The fix works for me too.
Thank you so much!

Loading...