mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Need to redraw borders now when some things change. Also change default so that
the active border colour is different in a mode or with synchronize-panes on.
This commit is contained in:
2
window.c
2
window.c
@ -1109,6 +1109,7 @@ window_pane_set_mode(struct window_pane *wp, struct window_pane *swp,
|
||||
wp->screen = wme->screen;
|
||||
wp->flags |= (PANE_REDRAW|PANE_CHANGED);
|
||||
|
||||
server_redraw_window_borders(wp->window);
|
||||
server_status_window(wp->window);
|
||||
notify_pane("pane-mode-changed", wp);
|
||||
|
||||
@ -1140,6 +1141,7 @@ window_pane_reset_mode(struct window_pane *wp)
|
||||
}
|
||||
wp->flags |= (PANE_REDRAW|PANE_CHANGED);
|
||||
|
||||
server_redraw_window_borders(wp->window);
|
||||
server_status_window(wp->window);
|
||||
notify_pane("pane-mode-changed", wp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user