mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 09:56:14 +00:00
zoom: Don't damage_all here
Setting geometry.dirty = 1 is enough.
This commit is contained in:
parent
9b154fa82b
commit
2ea094422a
|
@ -147,8 +147,7 @@ weston_zoom_frame(struct weston_animation *animation,
|
|||
es->alpha = 255;
|
||||
|
||||
zoom->surface->geometry.dirty = 1;
|
||||
|
||||
weston_compositor_damage_all(es->compositor);
|
||||
weston_compositor_schedule_repaint(es->compositor);
|
||||
}
|
||||
|
||||
WL_EXPORT struct weston_zoom *
|
||||
|
|
Loading…
Reference in a new issue