/[rdesktop]/sourceforge.net/trunk/rdesktop/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 /sourceforge.net/trunk/rdesktop/xkeymap.c

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

revision 111 by astrand, Sun Sep 1 12:03:33 2002 UTC revision 113 by astrand, Wed Sep 11 07:39:53 2002 UTC
# Line 393  ensure_remote_modifiers(uint32 ev_time, Line 393  ensure_remote_modifiers(uint32 ev_time,
393  static void  static void
394  update_modifier_state(uint16 modifiers, BOOL pressed)  update_modifier_state(uint16 modifiers, BOOL pressed)
395  {  {
396    #ifdef WITH_DEBUG_KBD
397            uint16 old_modifier_state;
398    
399            old_modifier_state = remote_modifier_state;
400    #endif
401    
         DEBUG_KBD(("Before updating modifier_state:0x%x, pressed=0x%x\n",  
                    remote_modifier_state, pressed));  
402          switch (modifiers)          switch (modifiers)
403          {          {
404                  case SCANCODE_CHAR_LSHIFT:                  case SCANCODE_CHAR_LSHIFT:
# Line 436  update_modifier_state(uint16 modifiers, Line 439  update_modifier_state(uint16 modifiers,
439                          }                          }
440                          break;                          break;
441          }          }
442          DEBUG_KBD(("After updating modifier_state:0x%x\n", remote_modifier_state));  
443    #ifdef WITH_DEBUG_KBD
444            if (old_modifier_state != remote_modifier_state)
445            {
446                    DEBUG_KBD(("Before updating modifier_state:0x%x, pressed=0x%x\n",
447                               old_modifier_state, pressed));
448                    DEBUG_KBD(("After updating modifier_state:0x%x\n", remote_modifier_state));
449            }
450    #endif
451    
452  }  }
453    

Legend:
Removed from v.111  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.26