From: Devin J. Pohly Date: Sat, 24 Feb 2018 21:32:48 +0000 (-0600) Subject: Remove x.c dependency on term X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=a3beb626d2dae9d4d0883c7c8cb6ba58b0609105;hp=a3beb626d2dae9d4d0883c7c8cb6ba58b0609105;p=st.git Remove x.c dependency on term The xinit function only needs to the rows/cols, so pass those in rather than accessing term directly. With a bit of arithmetic, we are able to avoid the need for term.row and term.col in x2col, y2row, and xdrawglyphfontspecs as well, completing the removal. Term is now fully internal to st.c. Signed-off-by: Devin J. Pohly ---