On 2005-08-09, Marcell Mars <[EMAIL PROTECTED]> wrote: > hi, > at first i'm really happy with transition from fluxbox to ion3. > everything which i had in fluxbox seems now as weak emulation of what > i have with ion... anyway the thing which didn't work with fluxbox is > here with ion again.. > > i bound in my xmodmap file: > > keycode 94 = Mode_switch > clear Mod2 > add Mod2 = Mode_switch
You shouldn't use Mode_switch as modifier, as the key has a special meaning. > so when i put also this in my xmodmap file: > > keycode 0x2B = h H Left > keycode 0x2C = u U Down > keycode 0x2D = i I Up > keycode 0x2E = o O Right 1. Due to the Mod2 binding above, Ion sees Mod2+Left being pressed, not Left, etc. 2. Actually, as grabs can only be done by keycodes, it works with keycodes and not keysyms in the binding lookup code, and therefore looks for a Mod2+h binding as it also ignores the Mode_Switch bit of state flags in this code (which is also not listed in X headers AFAIK.) -- Tuomo
