summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/tests.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-14 21:20:43 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-14 21:20:43 -0500
commit8fe33a340b8979a73fa84f201c15519a9b5d0266 (patch)
tree12cdbb1c1b9a48f533ab36980602785be1e1deeb /tests/libdimension/tests.c
parent20a55aa78050d94b187d4edfaac91ea00efea505 (diff)
downloaddimension-8fe33a340b8979a73fa84f201c15519a9b5d0266.tar.xz
Document libdimension with Doxygen.
Diffstat (limited to 'tests/libdimension/tests.c')
-rw-r--r--tests/libdimension/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c
index 9d1d38c..e2e0d18 100644
--- a/tests/libdimension/tests.c
+++ b/tests/libdimension/tests.c
@@ -86,7 +86,7 @@ dmnsn_new_display(const dmnsn_canvas *canvas)
swa.event_mask = StructureNotifyMask;
display->win = XCreateWindow(display->dpy,
RootWindow(display->dpy, display->vi->screen),
- 0, 0, canvas->x, canvas->y,
+ 0, 0, canvas->width, canvas->height,
0, display->vi->depth, InputOutput,
display->vi->visual,
CWBorderPixel|CWColormap|CWEventMask, &swa);