From b296bdd13c2e326096d5ef777cb933ed91f20556 Mon Sep 17 00:00:00 2001 From: Stephane Marchesin Date: Thu, 6 May 2010 09:44:39 -0700 Subject: Uncomment useful stuff in tests/rect.c --- tests/rect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rect.c b/tests/rect.c index 4fb4f0b..86dfac2 100644 --- a/tests/rect.c +++ b/tests/rect.c @@ -32,7 +32,7 @@ int main() { XSetForeground(dis, green_gc, green_col.pixel); printf("select input\n"); -/* XSelectInput(dis, win, ExposureMask | KeyPressMask | ButtonPressMask); + XSelectInput(dis, win, ExposureMask | KeyPressMask | ButtonPressMask); XDrawRectangle(dis, win, green_gc, 1, 1, 247, 247); XDrawRectangle(dis, win, green_gc, 50, 50, 148, 148); @@ -40,5 +40,5 @@ int main() { XFlush(dis); sleep(5); -*/ return 0; + return 0; } -- cgit v1.2.3