Since weston_surface_update_transform() was changed so it called surface_damage_below() instead of surface_damage(), the trick of clearing the surface damage did not work anymore. Fix this by moving the repaint surface to a special plane before calling update_transform. The move is made manually (as opposed to calling weston_surface_move_to_plane()) to avoid the call to weston_surface_damage_below(). The transform update causes the damage to be added to this special plane, which is simply ignored. After the geometry.dirty bit is clear, the surface is moved back to the primary plane.
parent
3b70b66fa9
commit
383b671ccf
Loading…
Reference in new issue