mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Remove a couple of redraw flags that no longer have any effect.
This commit is contained in:
@ -992,7 +992,6 @@ server_client_loop(void)
|
||||
*/
|
||||
focus = options_get_number(global_options, "focus-events");
|
||||
RB_FOREACH(w, windows, &windows) {
|
||||
w->flags &= ~WINDOW_REDRAW;
|
||||
TAILQ_FOREACH(wp, &w->panes, entry) {
|
||||
if (wp->fd != -1) {
|
||||
if (focus)
|
||||
@ -1227,11 +1226,6 @@ server_client_check_redraw(struct client *c)
|
||||
tty_update_mode(tty, tty->mode, NULL);
|
||||
screen_redraw_screen(c, 1, 1, 1);
|
||||
c->flags &= ~(CLIENT_STATUS|CLIENT_BORDERS);
|
||||
} else if (c->flags & CLIENT_REDRAWWINDOW) {
|
||||
tty_update_mode(tty, tty->mode, NULL);
|
||||
TAILQ_FOREACH(wp, &c->session->curw->window->panes, entry)
|
||||
screen_redraw_pane(c, wp);
|
||||
c->flags &= ~CLIENT_REDRAWWINDOW;
|
||||
} else {
|
||||
TAILQ_FOREACH(wp, &c->session->curw->window->panes, entry) {
|
||||
if (wp->flags & PANE_REDRAW) {
|
||||
|
Reference in New Issue
Block a user