From 1800c49211fb43af9834367d828945d0c95b9b77 Mon Sep 17 00:00:00 2001 From: cannoli-fruit Date: Tue, 14 Jul 2026 01:51:57 -0400 Subject: [PATCH] See last commit --- Makefile | 7 ++++--- win.h | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 15db421..413e7ab 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ include config.mk -SRC = st.c x.c +SRC = st.c x.c rowcolumn_diacritics_helpers.c graphics.c OBJ = $(SRC:.c=.o) all: st @@ -15,8 +15,9 @@ config.h: .c.o: $(CC) $(STCFLAGS) -c $< -st.o: config.h st.h win.h -x.o: arg.h config.h st.h win.h +st.o: config.h st.h win.h graphics.h +x.o: arg.h config.h st.h win.h graphics.h +graphics.c: graphics.h khash.h kvec.h st.h $(OBJ): config.h config.mk diff --git a/win.h b/win.h index 6de960d..31b3fff 100644 --- a/win.h +++ b/win.h @@ -39,3 +39,6 @@ void xsetpointermotion(int); void xsetsel(char *); int xstartdraw(void); void xximspot(int, int); + +void xstartimagedraw(int *dirty, int rows); +void xfinishimagedraw();