summaryrefslogtreecommitdiff
path: root/render/test.c
diff options
context:
space:
mode:
authorDerek Foreman <manmower@gmail.com>2003-03-17 04:53:36 +0000
committerDerek Foreman <manmower@gmail.com>2003-03-17 04:53:36 +0000
commitab68bcfb1e93daa41131174ac998548a183b5395 (patch)
treea03734df13e3f760d844633fa79f0eb9ad9c3ded /render/test.c
parentfdabd3daf9c631f53408d82c9168705dc6a2832a (diff)
more changes wrt passing x, y, w, h to render
Diffstat (limited to 'render/test.c')
-rw-r--r--render/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/test.c b/render/test.c
index 114819af..b42f553d 100644
--- a/render/test.c
+++ b/render/test.c
@@ -61,7 +61,7 @@ int main()
return 0;
}
- paint(win, look, 500, 500);
+ paint(win, look, 0, 0, 500, 500);
while (1) {
XNextEvent(ob_display, &report);
switch (report.type) {
@@ -70,7 +70,7 @@ int main()
case ConfigureNotify:
w = report.xconfigure.width;
h = report.xconfigure.height;
- paint(win, look, w, h);
+ paint(win, look, 0, 0, w, h);
printf("confignotify %i:%i\n", w, h);
break;
}