/[rdesktop]/jpeg/rdesktop/trunk/xkeymap.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/xkeymap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 810 by stargo, Sun Jan 23 19:29:31 2005 UTC revision 896 by stargo, Wed Apr 27 10:05:43 2005 UTC
# Line 2  Line 2 
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     User interface services - X keyboard mapping     User interface services - X keyboard mapping
4    
5     Copyright (C) Matthew Chapman 1999-2002     Copyright (C) Matthew Chapman 1999-2005
6     Copyright (C) Peter Astrand <peter@cendio.se> 2003     Copyright (C) Peter Astrand <peter@cendio.se> 2003
7        
8     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
# Line 408  xkeymap_translate_key(uint32 keysym, uns Line 408  xkeymap_translate_key(uint32 keysym, uns
408                  }                  }
409          }          }
410    
411          if (((remote_modifier_state & MapLeftCtrlMask)          if ((tr.modifiers & MapLeftShiftMask) && ((remote_modifier_state & MapLeftCtrlMask)
412               || (remote_modifier_state & MapRightCtrlMask)) && get_key_state(state, XK_Caps_Lock))                                                    || (remote_modifier_state & MapRightCtrlMask))
413                && get_key_state(state, XK_Caps_Lock))
414          {          {
415                  DEBUG_KBD(("CapsLock + Ctrl pressed, releasing LeftShift\n"));                  DEBUG_KBD(("CapsLock + Ctrl pressed, releasing LeftShift\n"));
416                  tr.modifiers ^= MapLeftShiftMask;                  tr.modifiers ^= MapLeftShiftMask;

Legend:
Removed from v.810  
changed lines
  Added in v.896

  ViewVC Help
Powered by ViewVC 1.1.26