/[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 210 by matthewc, Fri Oct 4 14:25:37 2002 UTC revision 250 by matthewc, Sun Nov 3 12:33:02 2002 UTC
# Line 351  ui_create_window(void) Line 351  ui_create_window(void)
351                  input_mask |= PointerMotionMask;                  input_mask |= PointerMotionMask;
352          if (ownbackstore)          if (ownbackstore)
353                  input_mask |= ExposureMask;                  input_mask |= ExposureMask;
354            if (fullscreen)
355                    input_mask |= EnterWindowMask;
356    
357          if (IM != NULL)          if (IM != NULL)
358          {          {
# Line 372  ui_create_window(void) Line 374  ui_create_window(void)
374          }          }
375          while (xevent.type != VisibilityNotify);          while (xevent.type != VisibilityNotify);
376    
         if (fullscreen)  
                 XSetInputFocus(display, wnd, RevertToPointerRoot, CurrentTime);  
   
377          return True;          return True;
378  }  }
379    
# Line 531  xwin_process_events(void) Line 530  xwin_process_events(void)
530                                          XUngrabKeyboard(display, CurrentTime);                                          XUngrabKeyboard(display, CurrentTime);
531                                  break;                                  break;
532    
533                            case EnterNotify:
534                                    /* we only register for this event when in fullscreen mode */
535                                    XSetInputFocus(display, wnd, RevertToPointerRoot, CurrentTime);
536                                    break;
537    
538                          case Expose:                          case Expose:
539                                  XCopyArea(display, backstore, wnd, gc,                                  XCopyArea(display, backstore, wnd, gc,
540                                            xevent.xexpose.x, xevent.xexpose.y,                                            xevent.xexpose.x, xevent.xexpose.y,

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

  ViewVC Help
Powered by ViewVC 1.1.26