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

Diff for /src/usr.bin/tmux/cmd-swap-pane.c between version 1.42 and 1.43

version 1.42, 2023/01/17 06:50:55 version 1.43, 2023/07/10 09:24:53
Line 128 
Line 128 
                         window_set_active_pane(dst_w, src_wp, 1);                          window_set_active_pane(dst_w, src_wp, 1);
         }          }
         if (src_w != dst_w) {          if (src_w != dst_w) {
                 if (src_w->last == src_wp)                  window_pane_stack_remove(&src_w->last_panes, src_wp);
                         src_w->last = NULL;                  window_pane_stack_remove(&dst_w->last_panes, dst_wp);
                 if (dst_w->last == dst_wp)  
                         dst_w->last = NULL;  
                 colour_palette_from_option(&src_wp->palette, src_wp->options);                  colour_palette_from_option(&src_wp->palette, src_wp->options);
                 colour_palette_from_option(&dst_wp->palette, dst_wp->options);                  colour_palette_from_option(&dst_wp->palette, dst_wp->options);
         }          }

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43