/[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 328 by astrand, Tue Feb 18 13:03:51 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                                            /* Check from right to left: */
862    
863                                          if (xevent.xbutton.x >= width - win_button_size)                                          if (xevent.xbutton.x >= width - win_button_size)
864                                          {                                          {
865                                                  /* The close button, do nothing */                                                  /* The close button, continue */
866                                                  ;                                                  ;
867                                          }                                          }
868                                          else if (xevent.xbutton.x >= width - win_button_size * 2)                                          else if (xevent.xbutton.x >= width - win_button_size * 2)
# Line 878  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.328  
changed lines
  Added in v.332

  ViewVC Help
Powered by ViewVC 1.1.26