wayland/surface-role: Make geometry scale API return int

Geometry scale are always ints, callers always assumed they were ints,
but they were doubles. Make them ints.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2460>
This commit is contained in:
Jonas Ådahl
2022-06-12 14:06:10 +02:00
committed by Marge Bot
parent a49c4e188a
commit 71ea01f54c
6 changed files with 9 additions and 9 deletions

View File

@ -227,7 +227,7 @@ meta_wayland_subsurface_notify_subsurface_state_changed (MetaWaylandSurfaceRole
return meta_wayland_surface_notify_subsurface_state_changed (parent);
}
static double
static int
meta_wayland_subsurface_get_geometry_scale (MetaWaylandActorSurface *actor_surface)
{
MetaWaylandSurfaceRole *surface_role =