/[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 896 by stargo, Wed Apr 27 10:05:43 2005 UTC revision 910 by astrand, Tue Jun 7 11:21:53 2005 UTC
# Line 372  handle_special_keys(uint32 keysym, unsig Line 372  handle_special_keys(uint32 keysym, unsig
372                              && (get_key_state(state, XK_Alt_L) || get_key_state(state, XK_Alt_R)))                              && (get_key_state(state, XK_Alt_L) || get_key_state(state, XK_Alt_R)))
373                                  return True;                                  return True;
374                          break;                          break;
375    
376                  case XK_Num_Lock:                  case XK_Num_Lock:
377                          /* FIXME: We might want to do RDP_INPUT_SYNCHRONIZE here, if g_numlock_sync */                          /* Synchronize on key release */
378                          if (!g_numlock_sync)                          if (g_numlock_sync && !pressed)
379                                  /* Inhibit */                                  rdp_send_input(0, RDP_INPUT_SYNCHRONIZE, 0,
380                                  return True;                                                 ui_get_numlock_state(read_keyboard_state()), 0);
381    
382                            /* Inhibit */
383                            return True;
384                          break;                          break;
385    
386          }          }

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

  ViewVC Help
Powered by ViewVC 1.1.26