zoom: Don't damage_all here
Setting geometry.dirty = 1 is enough.
This commit is contained in:
+1
-2
@@ -147,8 +147,7 @@ weston_zoom_frame(struct weston_animation *animation,
|
|||||||
es->alpha = 255;
|
es->alpha = 255;
|
||||||
|
|
||||||
zoom->surface->geometry.dirty = 1;
|
zoom->surface->geometry.dirty = 1;
|
||||||
|
weston_compositor_schedule_repaint(es->compositor);
|
||||||
weston_compositor_damage_all(es->compositor);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WL_EXPORT struct weston_zoom *
|
WL_EXPORT struct weston_zoom *
|
||||||
|
|||||||
Reference in New Issue
Block a user