[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.184 and 1.185

version 1.184, 2016/04/28 06:51:56 version 1.185, 2016/04/29 15:00:48
Line 921 
Line 921 
         struct session          *s = c->session;          struct session          *s = c->session;
         struct tty              *tty = &c->tty;          struct tty              *tty = &c->tty;
         struct window_pane      *wp;          struct window_pane      *wp;
         int                      flags, redraw;          int                      flags, masked, redraw;
   
         if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))          if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))
                 return;                  return;
Line 961 
Line 961 
                 }                  }
         }          }
   
         if (c->flags & CLIENT_BORDERS) {          masked = c->flags & (CLIENT_BORDERS|CLIENT_STATUS);
           if (masked != 0)
                 tty_update_mode(tty, tty->mode, NULL);                  tty_update_mode(tty, tty->mode, NULL);
           if (masked == CLIENT_BORDERS)
                 screen_redraw_screen(c, 0, 0, 1);                  screen_redraw_screen(c, 0, 0, 1);
         }          else if (masked == CLIENT_STATUS)
   
         if (c->flags & CLIENT_STATUS) {  
                 tty_update_mode(tty, tty->mode, NULL);  
                 screen_redraw_screen(c, 0, 1, 0);                  screen_redraw_screen(c, 0, 1, 0);
         }          else if (masked != 0)
                   screen_redraw_screen(c, 0, 1, 1);
   
         tty->flags = (tty->flags & ~(TTY_FREEZE|TTY_NOCURSOR)) | flags;          tty->flags = (tty->flags & ~(TTY_FREEZE|TTY_NOCURSOR)) | flags;
         tty_update_mode(tty, tty->mode, NULL);          tty_update_mode(tty, tty->mode, NULL);

Legend:
Removed from v.1.184  
changed lines
  Added in v.1.185