/[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 331 by astrand, Tue Feb 18 13:44:27 2003 UTC revision 332 by astrand, Tue Feb 18 13:51:43 2003 UTC
# Line 858  xwin_process_events(void) Line 858  xwin_process_events(void)
858                                  /* If win_button_size is nonzero, enable single app mode */                                  /* If win_button_size is nonzero, enable single app mode */
859                                  if (xevent.xbutton.y < win_button_size)                                  if (xevent.xbutton.y < win_button_size)
860                                  {                                  {
861                                          if (xevent.xbutton.x < win_button_size)                                          /* Check from right to left: */
862                                          {  
863                                                  /* The system menu, do not send to server */                                          if (xevent.xbutton.x >= width - win_button_size)
                                                 break;  
                                         }  
                                         else if (xevent.xbutton.x >= width - win_button_size)  
864                                          {                                          {
865                                                  /* The close button, continue */                                                  /* The close button, continue */
866                                                  ;                                                  ;
# Line 883  xwin_process_events(void) Line 880  xwin_process_events(void)
880                                                                 DefaultScreen(display));                                                                 DefaultScreen(display));
881                                                  break;                                                  break;
882                                          }                                          }
883                                            else
884                                            {
885                                                    /* Ignore clicks to the rest of the border. This includes
886                                                       the system menu, but also inhibits double clicks on the
887                                                       border itself. */
888                                                    break;
889                                            }
890                                  }                                  }
891    
892                                  rdp_send_input(time(NULL), RDP_INPUT_MOUSE,                                  rdp_send_input(time(NULL), RDP_INPUT_MOUSE,

Legend:
Removed from v.331  
changed lines
  Added in v.332

  ViewVC Help
Powered by ViewVC 1.1.26