mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-05 04:06:24 -05:00
Rename view_damage_surface to view_damage_part
To better align it with its counterpart view_damage_whole
This commit is contained in:
parent
95b7782c72
commit
1c59946e20
4 changed files with 5 additions and 5 deletions
4
view.c
4
view.c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue