aboutsummaryrefslogtreecommitdiffstats
path: root/win.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2018-02-24 14:58:54 -0600
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:56:26 -0600
commita5dc1b46976b2252f9d7bb68f126c4b0f351dd1a (patch)
treea9ce0c1a4dd254ccb71a61a08dc3df54dc4f2814 /win.h
parent88d8293fb4ba150a5f19d58d133b5db93d9dcfa5 (diff)
downloadst-a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a.tar.gz
Pull term references out of xdrawcursor
Gradually reducing x.c dependency on Term object. Old and new cursor glyph/position are passed to xdrawcursor. (There may be an opportunity to refactor further if we can unify "clear old cursor" and "draw new cursor" functionality.) Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'win.h')
-rw-r--r--win.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win.h b/win.h
index 6e662af..7a866fd 100644
--- a/win.h
+++ b/win.h
@@ -25,7 +25,7 @@ enum win_mode {
void xbell(void);
void xclipcopy(void);
-void xdrawcursor(void);
+void xdrawcursor(int, int, Glyph, int, int, Glyph);
void xdrawline(Line, int, int, int);
void xhints(void);
void xfinishdraw(void);
remember that computers suck.