Skip to content

Commit

Permalink
Now that #P could be in the status line, flag it for redraw when the …
Browse files Browse the repository at this point in the history
…active

pane changes.
  • Loading branch information
nicm committed Jul 20, 2009
1 parent c0862da commit c6012aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd-down-pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ cmd_down_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
if (w->active == NULL)
w->active = TAILQ_FIRST(&w->panes);
} while (!window_pane_visible(w->active));
server_status_window(wl->window);

return (0);
}
1 change: 1 addition & 0 deletions cmd-select-pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
}
window_set_active_pane(wl->window, wp);
server_status_window(wl->window);

return (0);
}
1 change: 1 addition & 0 deletions cmd-up-pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ cmd_up_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
if (w->active == NULL)
w->active = TAILQ_LAST(&w->panes, window_panes);
} while (!window_pane_visible(w->active));
server_status_window(wl->window);

return (0);
}

0 comments on commit c6012aa

Please sign in to comment.