[BACK]Return to cmd-list-windows.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-list-windows.c between version 1.8 and 1.9

version 1.8, 2009/11/13 19:53:29 version 1.9, 2010/06/29 03:30:13
Line 45 
Line 45 
         struct cmd_target_data  *data = self->data;          struct cmd_target_data  *data = self->data;
         struct session          *s;          struct session          *s;
         struct winlink          *wl;          struct winlink          *wl;
           char                    *layout;
   
         if ((s = cmd_find_session(ctx, data->target)) == NULL)          if ((s = cmd_find_session(ctx, data->target)) == NULL)
                 return (-1);                  return (-1);
Line 52 
Line 53 
         RB_FOREACH(wl, winlinks, &s->windows) {          RB_FOREACH(wl, winlinks, &s->windows) {
                 ctx->print(ctx, "%d: %s [%ux%u]",                  ctx->print(ctx, "%d: %s [%ux%u]",
                     wl->idx, wl->window->name, wl->window->sx, wl->window->sy);                      wl->idx, wl->window->name, wl->window->sx, wl->window->sy);
                   layout = layout_dump(wl->window);
                   ctx->print(ctx, "    layout: %s", layout);
                   xfree(layout);
         }          }
   
         return (0);          return (0);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9