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

View file

@ -242,7 +242,7 @@ handle_xdg_shell_surface_commit(struct wl_listener *listener, void *data)
{
struct cg_xdg_shell_view *xdg_shell_view = wl_container_of(listener, xdg_shell_view, commit);
struct cg_view *view = &xdg_shell_view->view;
view_damage_surface(view);
view_damage_part(view);
}
static void