/[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 250 by matthewc, Sun Nov 3 12:33:02 2002 UTC revision 253 by matthewc, Tue Nov 5 11:09:26 2002 UTC
# Line 345  ui_create_window(void) Line 345  ui_create_window(void)
345          }          }
346    
347          input_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |          input_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |
348                  VisibilityChangeMask | FocusChangeMask;                  VisibilityChangeMask | FocusChangeMask | LeaveWindowMask;
349    
350          if (sendmotion)          if (sendmotion)
351                  input_mask |= PointerMotionMask;                  input_mask |= PointerMotionMask;
# Line 535  xwin_process_events(void) Line 535  xwin_process_events(void)
535                                  XSetInputFocus(display, wnd, RevertToPointerRoot, CurrentTime);                                  XSetInputFocus(display, wnd, RevertToPointerRoot, CurrentTime);
536                                  break;                                  break;
537    
538                            case LeaveNotify:
539                                    XUngrabKeyboard(display, CurrentTime);
540                                    break;
541    
542                          case Expose:                          case Expose:
543                                  XCopyArea(display, backstore, wnd, gc,                                  XCopyArea(display, backstore, wnd, gc,
544                                            xevent.xexpose.x, xevent.xexpose.y,                                            xevent.xexpose.x, xevent.xexpose.y,

Legend:
Removed from v.250  
changed lines
  Added in v.253

  ViewVC Help
Powered by ViewVC 1.1.26