surface_close
};
-static int surface_create(struct interactive_dpy *inter)
+static void surface_create(struct interactive_dpy *inter)
{
int width = 200, height = 200;
goto err_conn;
}
- ret = surface_create(&inter);
- if (ret) {
- fprintf(stderr, "Couldn't create a capture window\n");
- goto err_conn;
- }
+ surface_create(&inter);
test_disable_stdin_echo();
do {