[BACK]Return to window-copy.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/window-copy.c between version 1.222 and 1.223

version 1.222, 2019/05/12 18:16:33 version 1.223, 2019/05/15 19:25:53
Line 3477 
Line 3477 
         if (wp == NULL)          if (wp == NULL)
                 return;                  return;
         wme = TAILQ_FIRST(&wp->modes);          wme = TAILQ_FIRST(&wp->modes);
         if (wme == NULL || wme->mode != &window_copy_mode)          if (wme == NULL)
                 return;                  return;
           if (wme->mode != &window_copy_mode && wme->mode != &window_view_mode)
                   return;
   
         if (cmd_mouse_at(wp, m, &x, &y, 0) != 0)          if (cmd_mouse_at(wp, m, &x, &y, 0) != 0)
                 return;                  return;
Line 3500 
Line 3502 
         if (wp == NULL)          if (wp == NULL)
                 return;                  return;
         wme = TAILQ_FIRST(&wp->modes);          wme = TAILQ_FIRST(&wp->modes);
         if (wme == NULL || wme->mode != &window_copy_mode)          if (wme == NULL)
                 return;                  return;
           if (wme->mode != &window_copy_mode && wme->mode != &window_view_mode)
                   return;
   
         if (cmd_mouse_at(wp, m, &x, &y, 1) != 0)          if (cmd_mouse_at(wp, m, &x, &y, 1) != 0)
                 return;                  return;
Line 3534 
Line 3538 
         if (wp == NULL)          if (wp == NULL)
                 return;                  return;
         wme = TAILQ_FIRST(&wp->modes);          wme = TAILQ_FIRST(&wp->modes);
         if (wme == NULL || wme->mode != &window_copy_mode)          if (wme == NULL)
                 return;                  return;
           if (wme->mode != &window_copy_mode && wme->mode != &window_view_mode)
                   return;
   
         data = wme->data;          data = wme->data;
         evtimer_del(&data->dragtimer);          evtimer_del(&data->dragtimer);
Line 3573 
Line 3579 
         if (wp == NULL)          if (wp == NULL)
                 return;                  return;
         wme = TAILQ_FIRST(&wp->modes);          wme = TAILQ_FIRST(&wp->modes);
         if (wme == NULL || wme->mode != &window_copy_mode)          if (wme == NULL)
                   return;
           if (wme->mode != &window_copy_mode && wme->mode != &window_view_mode)
                 return;                  return;
   
         data = wme->data;          data = wme->data;

Legend:
Removed from v.1.222  
changed lines
  Added in v.1.223