[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.286 and 1.287

version 1.286, 2019/06/07 20:09:17 version 1.287, 2019/06/11 13:09:00
Line 1241 
Line 1241 
         struct client           *c;          struct client           *c;
         struct window           *w;          struct window           *w;
         struct window_pane      *wp;          struct window_pane      *wp;
           struct winlink          *wl;
           struct session          *s;
         int                      focus;          int                      focus;
   
         TAILQ_FOREACH(c, &clients, entry) {          TAILQ_FOREACH(c, &clients, entry) {
Line 1257 
Line 1259 
          */           */
         focus = options_get_number(global_options, "focus-events");          focus = options_get_number(global_options, "focus-events");
         RB_FOREACH(w, windows, &windows) {          RB_FOREACH(w, windows, &windows) {
                   TAILQ_FOREACH(wl, &w->winlinks, wentry) {
                           s = wl->session;
                           if (s->attached != 0 && s->curw == wl)
                                   break;
                   }
                 TAILQ_FOREACH(wp, &w->panes, entry) {                  TAILQ_FOREACH(wp, &w->panes, entry) {
                         if (wp->fd != -1) {                          if (wl != NULL && wp->fd != -1) {
                                 if (focus)                                  if (focus)
                                         server_client_check_focus(wp);                                          server_client_check_focus(wp);
                                 server_client_check_resize(wp);                                  server_client_check_resize(wp);

Legend:
Removed from v.1.286  
changed lines
  Added in v.1.287