Initialize output position properly.
authorKristian Høgsberg <krh@sasori.boston.redhat.com>
Thu, 15 Jan 2009 16:44:35 +0000 (11:44 -0500)
committerKristian Høgsberg <krh@sasori.boston.redhat.com>
Fri, 16 Jan 2009 11:39:15 +0000 (06:39 -0500)
wayland-system-compositor.c

index 12287f9..85c0f99 100644 (file)
@@ -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;