mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Make the marked pane a cmd_find_state.
This commit is contained in:
4
window.c
4
window.c
@ -568,7 +568,7 @@ window_add_pane(struct window *w, u_int hlimit)
|
||||
void
|
||||
window_lost_pane(struct window *w, struct window_pane *wp)
|
||||
{
|
||||
if (wp == marked_window_pane)
|
||||
if (wp == marked_pane.wp)
|
||||
server_clear_marked();
|
||||
|
||||
if (wp == w->active) {
|
||||
@ -691,7 +691,7 @@ window_printable_flags(struct session *s, struct winlink *wl)
|
||||
flags[pos++] = '*';
|
||||
if (wl == TAILQ_FIRST(&s->lastw))
|
||||
flags[pos++] = '-';
|
||||
if (server_check_marked() && wl == marked_winlink)
|
||||
if (server_check_marked() && wl == marked_pane.wl)
|
||||
flags[pos++] = 'M';
|
||||
if (wl->window->flags & WINDOW_ZOOMED)
|
||||
flags[pos++] = 'Z';
|
||||
|
Reference in New Issue
Block a user