diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-02-12 16:36:12 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-02-12 16:36:12 -0500 |
commit | 99ec8a898b7571c07fb322e2365b186df1681687 (patch) | |
tree | c54ef209ea2c1f5aa33fcb9ea7bfcac6a475aada /src/term.c | |
parent | 23590b5069a2ad466c3c85997c35bf9b07bc6339 (diff) | |
download | runes-99ec8a898b7571c07fb322e2365b186df1681687.tar.gz runes-99ec8a898b7571c07fb322e2365b186df1681687.zip |
avoid an allocation on every glyph string draw
probably not super meaningful compared to the cost of the cairo
operations, but may as well
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ void runes_term_set_window_size(RunesTerm *t, int xpixel, int ypixel) int row = ypixel / t->display->fonty, col = xpixel / t->display->fontx; runes_pty_set_window_size(t, row, col, xpixel, ypixel); + runes_display_set_window_size(t, row, col); vt100_screen_set_window_size(t->scr, row, col); } |