diff --git a/blit.c b/blit.c index 2060fe3..73b58e9 100644 --- a/blit.c +++ b/blit.c @@ -100,9 +100,9 @@ main(void) { } - if (event.type == KeyPress) { - break; - } + //if (event.type == KeyPress) { + //break; + //} for(int x = 0; x < 100; x++) { for(int y = 0; y < 100; y++) { @@ -112,6 +112,8 @@ main(void) { factor++; + XClearWindow(display, window); + XCopyArea(display, pixmap, window,