mirror of
https://github.com/tmux/tmux.git
synced 2026-06-24 06:27:44 +00:00
Merge branch 'obsd-master'
This commit is contained in:
5
window.c
5
window.c
@@ -762,6 +762,7 @@ window_zoom(struct window_pane *wp)
|
||||
w->flags |= WINDOW_ZOOMED;
|
||||
notify_window("window-layout-changed", w);
|
||||
|
||||
redraw_invalidate_scene(w);
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -788,6 +789,7 @@ window_unzoom(struct window *w, int notify)
|
||||
if (notify)
|
||||
notify_window("window-layout-changed", w);
|
||||
|
||||
redraw_invalidate_scene(w);
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -844,6 +846,7 @@ window_add_pane(struct window *w, struct window_pane *other, u_int hlimit,
|
||||
else {
|
||||
TAILQ_INSERT_HEAD(&w->z_index, wp, zentry);
|
||||
}
|
||||
redraw_invalidate_scene(w);
|
||||
return (wp);
|
||||
}
|
||||
|
||||
@@ -870,6 +873,7 @@ window_lost_pane(struct window *w, struct window_pane *wp)
|
||||
window_update_focus(w);
|
||||
}
|
||||
}
|
||||
redraw_invalidate_scene(w);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -878,6 +882,7 @@ window_remove_pane(struct window *w, struct window_pane *wp)
|
||||
window_lost_pane(w, wp);
|
||||
TAILQ_REMOVE(&w->panes, wp, entry);
|
||||
TAILQ_REMOVE(&w->z_index, wp, zentry);
|
||||
redraw_invalidate_scene(w);
|
||||
window_pane_destroy(wp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user