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

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

revision 87 by jsorg71, Sat Aug 3 22:28:05 2002 UTC revision 99 by jsorg71, Tue Aug 20 01:20:08 2002 UTC
# Line 356  ui_create_window(char *title) Line 356  ui_create_window(char *title)
356          xkeymap_init2();          xkeymap_init2();
357    
358          input_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |          input_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |
359                          VisibilityChangeMask;                          VisibilityChangeMask | FocusChangeMask;
360          if (grab_keyboard)          if (grab_keyboard)
361                  input_mask |= EnterWindowMask | LeaveWindowMask;                  input_mask |= EnterWindowMask | LeaveWindowMask;
362          if (sendmotion)          if (sendmotion)
# Line 531  xwin_process_events() Line 531  xwin_process_events()
531    
532                          case FocusOut:                          case FocusOut:
533                                  /* reset keys */                                  /* reset keys */
534                                  rdp_send_input(ev_time, RDP_INPUT_SCANCODE,                                  rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_LCTRL);
535                                                 KBD_FLAG_DOWN | KBD_FLAG_UP, SCANCODE_CHAR_LCTRL, 0);                                  rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_LALT);
536                                  rdp_send_input(ev_time, RDP_INPUT_SCANCODE,                                  rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_LSHIFT);
537                                                 KBD_FLAG_DOWN | KBD_FLAG_UP, SCANCODE_CHAR_LALT, 0);                                  rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_RCTRL);
538                                    rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_RALT);
539                                    rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_RSHIFT);
540                                  /* fall through */                                  /* fall through */
541                          case LeaveNotify:                          case LeaveNotify:
542                                  if (grab_keyboard)                                  if (grab_keyboard)

Legend:
Removed from v.87  
changed lines
  Added in v.99

  ViewVC Help
Powered by ViewVC 1.1.26