diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-12-09 15:41:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-12-09 15:41:56 +0000 |
commit | cf071ffecd5a0d33008fd0a8b66a22f6855c7a8d (patch) | |
tree | 3d68f3a332b88dff0832d4ea79c99cfeb6c3fc12 | |
parent | 2006b7a5631787a7086c6bae364e62d0a0b5948a (diff) |
Remove images when reflow happens.
-rw-r--r-- | screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -225,8 +225,10 @@ screen_resize(struct screen *s, u_int sx, u_int sy, int reflow) if (sy != screen_size_y(s)) screen_resize_y(s, sy); - if (reflow) + if (reflow) { + image_free_all(s); screen_reflow(s, sx); + } } static void |