The non-transformed case looked a little odd, calling weston_surface_to_global(), since it already tests for transform.enabled and simply uses width, height for the box. Streamline it, by open-coding weston_surface_to_global(), and avoiding another call into weston_surface_update_transform(). This way it does not look suspicious to me. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
parent
219b982ed0
commit
1d5035c705
Loading…
Reference in new issue