|
|
@ -326,16 +326,16 @@ static void surface_damage_buffer(struct wl_client *client,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const struct wl_surface_interface surface_interface = {
|
|
|
|
const struct wl_surface_interface surface_interface = {
|
|
|
|
surface_destroy,
|
|
|
|
.destroy = surface_destroy,
|
|
|
|
surface_attach,
|
|
|
|
.attach = surface_attach,
|
|
|
|
surface_damage,
|
|
|
|
.damage = surface_damage,
|
|
|
|
surface_frame,
|
|
|
|
.frame = surface_frame,
|
|
|
|
surface_set_opaque_region,
|
|
|
|
.set_opaque_region = surface_set_opaque_region,
|
|
|
|
surface_set_input_region,
|
|
|
|
.set_input_region = surface_set_input_region,
|
|
|
|
surface_commit,
|
|
|
|
.commit = surface_commit,
|
|
|
|
surface_set_buffer_transform,
|
|
|
|
.set_buffer_transform = surface_set_buffer_transform,
|
|
|
|
surface_set_buffer_scale,
|
|
|
|
.set_buffer_scale = surface_set_buffer_scale,
|
|
|
|
surface_damage_buffer
|
|
|
|
.damage_buffer = surface_damage_buffer
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static void destroy_surface(struct wl_resource *resource) {
|
|
|
|
static void destroy_surface(struct wl_resource *resource) {
|
|
|
|