diff options
-rw-r--r-- | tests/rect.c | 4 |
1 files 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; } |