]> git.mdlowis.com Git - projs/tide.git/commitdiff
Fixed dependency tracking
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 10 Dec 2018 20:52:34 +0000 (15:52 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 10 Dec 2018 20:52:34 +0000 (15:52 -0500)
Makefile
src/pick.c

index 204af3dcf1f923eeb360ca0f96dc601cb3cdedd7..9a805de855840d12ca4c3151993cee5badc5162b 100644 (file)
--- 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
index c7f78e21355d51fa663c042f79da9a844d611a3b..70517a19771d909ea13391f7ada0a13fef3dc0ba 100644 (file)
@@ -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) {