flower.display = d;
flower.window = window_create(d);
flower.widget = window_add_widget(flower.window, &flower);
+ window_set_title(flower.window, "Flower");
widget_set_resize_handler(flower.widget, resize_handler);
widget_set_redraw_handler(flower.widget, redraw_handler);
display->egl.conf,
window->native, NULL);
+ wl_shell_surface_set_title(window->shell_surface, "simple-egl");
+
ret = eglMakeCurrent(window->display->egl.dpy, window->egl_surface,
window->egl_surface, window->display->egl.ctx);
assert(ret == EGL_TRUE);
wl_shell_surface_add_listener(window->shell_surface,
&shell_surface_listener, window);
+ wl_shell_surface_set_title(window->shell_surface, "simple-shm");
+
wl_shell_surface_set_toplevel(window->shell_surface);
return window;
}
wl_surface_set_user_data(touch->surface, touch);
+ wl_shell_surface_set_title(touch->shell_surface, "simple-touch");
memset(touch->data, 64, width * height * 4);
wl_surface_attach(touch->surface, touch->buffer, 0, 0);