Rename view_damage_surface to view_damage_part

To better align it with its counterpart view_damage_whole
This commit is contained in:
Jente Hidskes 2019-12-26 12:03:38 +01:00
parent 95b7782c72
commit 1c59946e20
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
4 changed files with 5 additions and 5 deletions

4
view.c
View file

@ -28,7 +28,7 @@ static void
view_child_handle_commit(struct wl_listener *listener, void *data)
{
struct cg_view_child *child = wl_container_of(listener, child, commit);
view_damage_surface(child->view);
view_damage_part(child->view);
}
static void subsurface_create(struct cg_view *view, struct wlr_subsurface *wlr_subsurface);
@ -136,7 +136,7 @@ view_is_transient_for(struct cg_view *child, struct cg_view *parent) {
}
void
view_damage_surface(struct cg_view *view)
view_damage_part(struct cg_view *view)
{
struct cg_output *output;
wl_list_for_each(output, &view->server->outputs, link) {