From: Michael D. Lowis Date: Mon, 10 Dec 2018 20:52:34 +0000 (-0500) Subject: Fixed dependency tracking X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=9dd5d4ba9e05ae855b23c5ff6ddb967e6618d04b;p=projs%2Ftide.git Fixed dependency tracking --- diff --git a/Makefile b/Makefile index 204af3d..9a805de 100644 --- a/Makefile +++ b/Makefile @@ -57,4 +57,4 @@ bin/%: src/%.o $(LD) -o $@ $^ $(LDFLAGS) # load generate dependencies --include *.d lib/*.d tests/*.d tests/lib/*.d +-include src/*.d src/lib/*.d tests/*.d tests/lib/*.d diff --git a/src/pick.c b/src/pick.c index c7f78e2..70517a1 100644 --- a/src/pick.c +++ b/src/pick.c @@ -142,6 +142,9 @@ static void draw_rect(XConf* x, int color, int px, int py, int width, int height static void redraw(XConf* x) { draw_rect(x, 0x0, 0, 0, x->width, x->height); + XCopyArea(x->display, x->pixmap, x->self, x->gc, 0, 0, x->width, x->height, 0, 0); + XFlush(x->display); + } void filter(void) {