diff options
| author | Quentin Carbonneaux | 2014-08-12 16:25:30 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2014-08-12 16:25:30 -0400 |
| commit | fc81e4accf9175c707087ff798688706233a10aa (patch) | |
| tree | 7f6a70d6c5d3c7b7ea14465e5368607c4fef39c7 | |
| parent | 5ae8a86aca9cc33f990bb3ff033aa573a36cceca (diff) | |
reset dirty after redraw and change font
| -rw-r--r-- | x11.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } } |
