mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-06 17:50:21 +01:00
libweston: Remove weston_surface_damage() from view-transform
These already call weston_view_geometry_dirty_internal() and weston_view_update_transform(), the combination of which will already force a repaint for those views. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
8e7ca3a470
commit
c71ae0c89b
1 changed files with 0 additions and 6 deletions
|
|
@ -2020,9 +2020,6 @@ weston_view_add_transform(struct weston_view *view,
|
|||
|
||||
weston_view_geometry_dirty_internal(view);
|
||||
weston_view_update_transform(view);
|
||||
|
||||
if (weston_view_is_mapped(view))
|
||||
weston_surface_damage(view->surface);
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
|
|
@ -2040,9 +2037,6 @@ weston_view_remove_transform(struct weston_view *view,
|
|||
|
||||
weston_view_geometry_dirty_internal(view);
|
||||
weston_view_update_transform(view);
|
||||
|
||||
if (weston_view_is_mapped(view))
|
||||
weston_surface_damage(view->surface);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue