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

Diff for /src/usr.bin/tmux/status.c between version 1.87 and 1.88

version 1.87, 2012/01/29 09:37:02 version 1.88, 2012/03/03 08:55:56
Line 141 
Line 141 
         struct session  *s = c->session;          struct session  *s = c->session;
         struct winlink  *wl;          struct winlink  *wl;
   
         x += s->wlmouse;          x += c->wlmouse;
         RB_FOREACH(wl, winlinks, &s->windows) {          RB_FOREACH(wl, winlinks, &s->windows) {
                 if (x < wl->status_width &&                  if (x < wl->status_width &&
                         session_select(s, wl->idx) == 0) {                          session_select(s, wl->idx) == 0) {
Line 356 
Line 356 
                 wloffset++;                  wloffset++;
   
         /* Copy the window list. */          /* Copy the window list. */
         s->wlmouse = -wloffset + wlstart;          c->wlmouse = -wloffset + wlstart;
         screen_write_cursormove(&ctx, wloffset, 0);          screen_write_cursormove(&ctx, wloffset, 0);
         screen_write_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1);          screen_write_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1);
         screen_free(&window_list);          screen_free(&window_list);

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88