/[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 1293 by astrand, Wed Oct 11 17:56:05 2006 UTC revision 1294 by astrand, Wed Oct 11 17:59:18 2006 UTC
# Line 495  send_winkey(uint32 ev_time, BOOL pressed Line 495  send_winkey(uint32 ev_time, BOOL pressed
495  static void  static void
496  reset_winkey(uint32 ev_time)  reset_winkey(uint32 ev_time)
497  {  {
         printf("reset_winkey\n");  
498          if (g_use_rdp5)          if (g_use_rdp5)
499          {          {
500                  /* For some reason, it seems to suffice to release                  /* For some reason, it seems to suffice to release
# Line 953  reset_modifier_keys() Line 952  reset_modifier_keys()
952    
953          if (g_numlock_sync)          if (g_numlock_sync)
954                  rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0);                  rdp_send_input(ev_time, RDP_INPUT_SYNCHRONIZE, 0, ui_get_numlock_state(state), 0);
   
         //sleep(4);  
         //rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYPRESS, 0x9c, 0);  
         //rdp_send_input(time(NULL), RDP_INPUT_SCANCODE, RDP_KEYRELEASE, 0x9c, 0);  
955  }  }
956    
957    

Legend:
Removed from v.1293  
changed lines
  Added in v.1294

  ViewVC Help
Powered by ViewVC 1.1.26