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

Diff for /src/usr.bin/tmux/server-client.c between version 1.291 and 1.292

version 1.291, 2019/07/02 20:09:19 version 1.292, 2019/07/06 20:56:34
Line 524 
Line 524 
   
         /* Is this on the status line? */          /* Is this on the status line? */
         m->statusat = status_at_line(c);          m->statusat = status_at_line(c);
           m->statuslines = status_line_size(c);
         if (m->statusat != -1 &&          if (m->statusat != -1 &&
             y >= (u_int)m->statusat &&              y >= (u_int)m->statusat &&
             y < m->statusat + status_line_size(c)) {              y < m->statusat + m->statuslines) {
                 sr = status_get_range(c, x, y - m->statusat);                  sr = status_get_range(c, x, y - m->statusat);
                 if (sr == NULL) {                  if (sr == NULL) {
                         where = STATUS_DEFAULT;                          where = STATUS_DEFAULT;
Line 555 
Line 556 
         /* Not on status line. Adjust position and check for border or pane. */          /* Not on status line. Adjust position and check for border or pane. */
         if (where == NOWHERE) {          if (where == NOWHERE) {
                 px = x;                  px = x;
                 if (m->statusat == 0 && y > 0)                  if (m->statusat == 0 && y >= m->statuslines)
                         py = y - 1;                          py = y - m->statuslines;
                 else if (m->statusat > 0 && y >= (u_int)m->statusat)                  else if (m->statusat > 0 && y >= (u_int)m->statusat)
                         py = m->statusat - 1;                          py = m->statusat - 1;
                 else                  else

Legend:
Removed from v.1.291  
changed lines
  Added in v.1.292