Skip to content

surface-actor-wayland: Optimize get_current_primary_view for single view

In case we only have a single view (or there's only one view left to check and the actor is visible on previous views) we can take a short- cut, saving a region allocation and some calculations.


This might be close to over-optimization but I'm developing a tic concerning allocations...

Merge request reports