mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: set tracking point count to 0 if there’s no active selection
This commit is contained in:
parent
a5ec26ccc9
commit
d2c0a65b70
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -3242,7 +3242,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
|||
/* Resize grids */
|
||||
grid_resize_and_reflow(
|
||||
&term->normal, new_normal_grid_rows, new_cols, old_rows, new_rows,
|
||||
ALEN(tracking_points), tracking_points,
|
||||
term->selection.end.row >= 0 ? ALEN(tracking_points) : 0, tracking_points,
|
||||
term->composed_count, term->composed);
|
||||
|
||||
grid_resize_without_reflow(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue