mirror of
https://github.com/tmux/tmux.git
synced 2026-06-21 01:35:23 +00:00
Cache scene for client and invalidate when changes.
This commit is contained in:
3
layout.c
3
layout.c
@@ -453,6 +453,7 @@ layout_fix_panes(struct window *w, struct window_pane *skip)
|
||||
|
||||
window_pane_resize(wp, sx, sy);
|
||||
}
|
||||
screen_redraw_invalidate_scene(w);
|
||||
}
|
||||
|
||||
/* Count the number of available cells in a layout. */
|
||||
@@ -777,6 +778,7 @@ layout_resize_floating_pane_to(struct window_pane *wp, enum layout_type type,
|
||||
lc->sy = size;
|
||||
else
|
||||
lc->sx = size;
|
||||
screen_redraw_invalidate_scene(wp->window);
|
||||
}
|
||||
|
||||
/* Resize a floating pane relative to its current size. */
|
||||
@@ -811,6 +813,7 @@ layout_resize_floating_pane(struct window_pane *wp, enum layout_type type,
|
||||
if (opposite)
|
||||
lc->xoff -= change;
|
||||
}
|
||||
screen_redraw_invalidate_scene(wp->window);
|
||||
}
|
||||
|
||||
/* Resize a layout cell. */
|
||||
|
||||
Reference in New Issue
Block a user