I have setup a "WM modifier", more specifically I use my lower-left
corner "ctrl" key for it.  The way I do it is to remap it via xmodmap to
Hyper_L and then set it (via xmodmap again) to "mod5".
Then I have in my .ctwmrc some bindings such as:

Button1 = m5 : window|icon|title|frame : f.function "ResizeOrRaiseOrLower"
Button2 = m5 : window|icon|title|frame : f.movepack
Button3 = m5 : window|icon|title|frame : f.menu "WindowMenu"

This has been working fine for many years, but recently I've been
encoutering machines where it doesn't work.  This shows up on newly
installed machines and on some of them the problem has finally
disappeared for no apparent reason, while for some (in particular for
my main laptop) it doesn't want to go away.  The way the problem
manifests itself is that all the above special bindings in my .ctwmrc
seem to be ignored.  If I right-click in an Emacs frame with the special
m5 modifier pressed, instead of getting my ctwm "WindowMenu", I get
a message from Emacs saying that H-mouse-3 is unbound.

`xev' indicates that the key is properly xmodmapped.

I have a strong suspicion that this is linked to some nasty Gnome or
XKBsomething intrusion, but since I know nothing about that, I'm at
a loss.

Does someone here have an idea where I might want to start looking for
a solution?


        Stefan

Reply via email to