/[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 257 by jsorg71, Mon Nov 11 23:15:27 2002 UTC revision 261 by astrand, Mon Nov 18 15:35:41 2002 UTC
# Line 469  xwin_process_events(void) Line 469  xwin_process_events(void)
469                                                        str, sizeof(str), &keysym, NULL);                                                        str, sizeof(str), &keysym, NULL);
470                                  }                                  }
471    
472                                  DEBUG_KBD(("KeyPress for (keysym 0x%lx, %s)\n", keysym, get_ksname(keysym)));                                  DEBUG_KBD(("KeyPress for (keysym 0x%lx, %s)\n", keysym,
473                                               get_ksname(keysym)));
474    
475                                  ev_time = time(NULL);                                  ev_time = time(NULL);
476                                  if (handle_special_keys(keysym, xevent.xkey.state, ev_time, True))                                  if (handle_special_keys(keysym, xevent.xkey.state, ev_time, True))
# Line 528  xwin_process_events(void) Line 529  xwin_process_events(void)
529                                  if (xevent.xfocus.mode == NotifyGrab)                                  if (xevent.xfocus.mode == NotifyGrab)
530                                          break;                                          break;
531                                  focused = True;                                  focused = True;
532                                  XQueryPointer(display, wnd, &wdummy, &wdummy, &dummy, &dummy, &dummy, &dummy, &state);                                  XQueryPointer(display, wnd, &wdummy, &wdummy, &dummy, &dummy,
533                                                  &dummy, &dummy, &state);
534                                  reset_modifier_keys(state);                                  reset_modifier_keys(state);
535                                  if (grab_keyboard && mouse_in_wnd)                                  if (grab_keyboard && mouse_in_wnd)
536                                          XGrabKeyboard(display, wnd, True,                                          XGrabKeyboard(display, wnd, True,
# Line 549  xwin_process_events(void) Line 551  xwin_process_events(void)
551                                  mouse_in_wnd = True;                                  mouse_in_wnd = True;
552                                  if (fullscreen)                                  if (fullscreen)
553                                  {                                  {
554                                          XSetInputFocus(display, wnd, RevertToPointerRoot, CurrentTime);                                          XSetInputFocus(display, wnd, RevertToPointerRoot,
555                                                           CurrentTime);
556                                          break;                                          break;
557                                  }                                  }
558                                  if (focused)                                  if (focused)

Legend:
Removed from v.257  
changed lines
  Added in v.261

  ViewVC Help
Powered by ViewVC 1.1.26