For some reason it not only compiled with different parameters but the
method succeeded and just failed later.
gears = zalloc(sizeof *gears);
gears->d = display;
gears->window = window_create(display);
- gears->widget = frame_create(gears->window, gears);
+ gears->widget = window_frame_create(gears->window, gears);
window_set_title(gears->window, "Wayland Gears");
gears->display = display_get_egl_display(gears->d);
}
view->window = window_create(display);
- view->widget = frame_create(view->window, view);
+ view->widget = window_frame_create(view->window, view);
window_set_title(view->window, title);
g_free(title);
view->display = display;
window_get_wl_surface(mi->window),
output);
} else {
- mi->widget = frame_create(mi->window, mi);
+ mi->widget = window_frame_create(mi->window, mi);
}
widget_set_redraw_handler(mi->widget, redraw_handler);