ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/keyboard.C
(Generate patch)

Comparing rxvt-unicode/src/keyboard.C (file contents):
Revision 1.13 by root, Thu Feb 24 13:01:01 2005 UTC vs.
Revision 1.14 by root, Sat Mar 12 23:35:14 2005 UTC

260bool 260bool
261keyboard_manager::dispatch (rxvt_term *term, KeySym keysym, unsigned int state) 261keyboard_manager::dispatch (rxvt_term *term, KeySym keysym, unsigned int state)
262{ 262{
263 assert (hash[0] == 0 && "register_done() need to be called"); 263 assert (hash[0] == 0 && "register_done() need to be called");
264 264
265 state &= OtherModMask; // mask out uninteresting modifiers
266
265 if (state & term->ModMetaMask) state |= MetaMask; 267 if (state & term->ModMetaMask) state |= MetaMask;
266 if (state & term->ModNumLockMask) state |= NumLockMask; 268 if (state & term->ModNumLockMask) state |= NumLockMask;
267 if (state & term->ModLevel3Mask) state |= Level3Mask; 269 if (state & term->ModLevel3Mask) state |= Level3Mask;
268 270
269 if (!!(term->priv_modes & PrivMode_aplKP) != !!(state & ShiftMask)) 271 if (!!(term->priv_modes & PrivMode_aplKP) != !!(state & ShiftMask))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines