Hi!
In my ~/.xinitrc I make CapsLog MOD4 with "xmodmap ~/.Xmodmap":
add mod4 = Caps_Lock
In ~/.ion3/cfg_ion.lua MOD1 becomes the afore mentioned CapsLock key,
Alt becomes MOD2:
MOD1="Mod4+"
MOD2="Mod1+"
See the following snipped out of ~/.ion3/cfg_bindings.lua:
kpress_wait(MOD1.."Return",
"WClientWin.toggle_fullscreen(_sub)", "_sub:WClientWin"),
kpress_wait(MOD2.."Return",
"WClientWin.toggle_fullscreen(_sub)", "_sub:WClientWin"),
The second Entry works well: Alt+Enter switches app to fullscreen, after
releasing Alt after releasing Enter the square cursor disappears, app
gets focus.
The first Entry is broken: CapsLock (alias MOD2 ka Mod4+") + Enter
toggles fullscreen, after releasing both keys square cursor does not
disappear. It eats the next keypress, regardeless of modifier key or
another one, to disappear.
I use a normal PC102 KEyboard and teste it on a debian with
xfree86-4.3.0 and on a gentoo with xorg-6.8.1 with
ion3: Encoding in LC_CTYPE (en_US) and encoding reported by
nl_langinfo(CODESET) (ISO-8859-1) do not match.
ion3: Reverting locale settings to "C".
3ds-20041005
Is this behaviour "normal", a bug or misconfigured?
Regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF