--- rxvt-unicode/src/keyboard.C 2005/02/24 13:01:01 1.13 +++ rxvt-unicode/src/keyboard.C 2005/03/12 23:35:14 1.14 @@ -262,6 +262,8 @@ { assert (hash[0] == 0 && "register_done() need to be called"); + state &= OtherModMask; // mask out uninteresting modifiers + if (state & term->ModMetaMask) state |= MetaMask; if (state & term->ModNumLockMask) state |= NumLockMask; if (state & term->ModLevel3Mask) state |= Level3Mask;