mirror of
https://github.com/tmux/tmux.git
synced 2025-10-06 18:06:31 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@@ -1724,11 +1724,15 @@ server_client_check_redraw(struct client *c)
|
||||
log_debug("redraw timer started");
|
||||
evtimer_add(&ev, &tv);
|
||||
}
|
||||
if (new_flags & CLIENT_REDRAWPANES) {
|
||||
|
||||
if (~c->flags & CLIENT_REDRAWWINDOW) {
|
||||
c->redraw_panes = 0;
|
||||
TAILQ_FOREACH(wp, &w->panes, entry) {
|
||||
if (wp->flags & PANE_REDRAW)
|
||||
if (wp->flags & PANE_REDRAW) {
|
||||
log_debug("%s: pane %%%u needs redraw",
|
||||
c->name, wp->id);
|
||||
c->redraw_panes |= (1 << bit);
|
||||
}
|
||||
if (++bit == 64) {
|
||||
/*
|
||||
* If more that 64 panes, give up and
|
||||
@@ -1739,6 +1743,8 @@ server_client_check_redraw(struct client *c)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (c->redraw_panes != 0)
|
||||
c->flags |= CLIENT_REDRAWPANES;
|
||||
}
|
||||
c->flags |= new_flags;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user