From e68d24c559cdc3043a63f82bd7d81fc28e860b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 15 Jan 2009 11:44:35 -0500 Subject: [PATCH] Initialize output position properly. --- wayland-system-compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wayland-system-compositor.c b/wayland-system-compositor.c index 12287f9a..85c0f997 100644 --- a/wayland-system-compositor.c +++ b/wayland-system-compositor.c @@ -922,6 +922,8 @@ create_output(struct egl_compositor *ec, struct udev_device *device) output->crtc_id = encoder->crtc_id; output->connector_id = connector->connector_id; output->mode = mode; + output->x = 0; + output->y = 0; output->width = mode->hdisplay; output->height = mode->vdisplay; output->stride = mode->hdisplay * 4;