diff --git a/flower.c b/flower.c index a1b7011b..adbb0cb7 100644 --- a/flower.c +++ b/flower.c @@ -133,7 +133,7 @@ int main(int argc, char *argv[]) struct wl_display *display; struct wl_visual *visual; int fd; - cairo_drm_device_t *device; + cairo_device_t *device; cairo_surface_t *s; struct timespec ts; GMainLoop *loop; diff --git a/window.c b/window.c index 95f3e21d..c0808dcd 100644 --- a/window.c +++ b/window.c @@ -46,7 +46,7 @@ struct display { struct wl_output *output; struct wl_input_device *input_device; struct rectangle screen_allocation; - cairo_drm_device_t *device; + cairo_device_t *device; int fd; };