summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Marchesin <stephane.marchesin@gmail.com>2010-05-06 09:44:39 -0700
committerStephane Marchesin <stephane.marchesin@gmail.com>2010-05-06 09:44:39 -0700
commitb296bdd13c2e326096d5ef777cb933ed91f20556 (patch)
tree281f801103686108149d589a29b64b53d0a6248f
parentffea40ecbbe86ead2699239d504c4d6ecdca4732 (diff)
Uncomment useful stuff in tests/rect.c
-rw-r--r--tests/rect.c4
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;
}