mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 17:38:53 +02:00
Merge branch 'obsd-master'
This commit is contained in:
4
window.c
4
window.c
@@ -567,7 +567,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) {
|
||||
@@ -690,7 +690,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