summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-08-12 16:25:30 -0400
committerQuentin Carbonneaux2014-08-12 16:25:30 -0400
commitfc81e4accf9175c707087ff798688706233a10aa (patch)
tree7f6a70d6c5d3c7b7ea14465e5368607c4fef39c7
parent5ae8a86aca9cc33f990bb3ff033aa573a36cceca (diff)
reset dirty after redraw and change font
-rw-r--r--x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11.c b/x11.c
index 1670988..9a8a5bb 100644
--- a/x11.c
+++ b/x11.c
@@ -10,7 +10,7 @@
void die(char *);
-#define FONTNAME "DejaVu Sans:pixelsize=14"
+#define FONTNAME "Source Code Pro:pixelsize=12"
enum {
Width = 640,
@@ -168,6 +168,7 @@ sync()
if (dirty) {
XCopyArea(d, pbuf, win, gc, 0, 0, w, h, 0, 0);
XFlush(d);
+ dirty = 0;
}
}