/[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 157 by matthewc, Sun Sep 15 11:39:16 2002 UTC revision 158 by matthewc, Sun Sep 15 11:53:50 2002 UTC
# Line 568  xwin_process_events() Line 568  xwin_process_events()
568                                                 MOUSE_FLAG_MOVE, xevent.xmotion.x, xevent.xmotion.y);                                                 MOUSE_FLAG_MOVE, xevent.xmotion.x, xevent.xmotion.y);
569                                  break;                                  break;
570    
                         case FocusIn:  
                                 /* fall through */  
571                          case EnterNotify:                          case EnterNotify:
572                                  if (grab_keyboard)                                  if (grab_keyboard)
573                                          XGrabKeyboard(display, wnd, True,                                          XGrabKeyboard(display, wnd, True,
574                                                        GrabModeAsync, GrabModeAsync, CurrentTime);                                                        GrabModeAsync, GrabModeAsync, CurrentTime);
575                                  break;                                  break;
576    
                         case FocusOut:  
                                 xwin_reset_keys();  
                                 /* fall through */  
577                          case LeaveNotify:                          case LeaveNotify:
578                                  if (grab_keyboard)                                  if (grab_keyboard)
579                                          XUngrabKeyboard(display, CurrentTime);                                          XUngrabKeyboard(display, CurrentTime);
580                                  break;                                  break;
581    
582                            case FocusOut:
583                                    xwin_reset_keys();
584                                    break;
585    
586                          case Expose:                          case Expose:
587                                  XCopyArea(display, backstore, wnd, gc,                                  XCopyArea(display, backstore, wnd, gc,
588                                            xevent.xexpose.x, xevent.xexpose.y,                                            xevent.xexpose.x, xevent.xexpose.y,

Legend:
Removed from v.157  
changed lines
  Added in v.158

  ViewVC Help
Powered by ViewVC 1.1.26