summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/tests.c
diff options
context:
space:
mode:
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);