Port to MtkRegion
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3292>
This commit is contained in:

committed by
Marge Bot

parent
7c98910488
commit
655b4a9c75
@ -176,8 +176,8 @@ meta_wayland_cursor_surface_apply_state (MetaWaylandSurfaceRole *surface_role,
|
||||
wl_list_init (&pending->frame_callback_list);
|
||||
|
||||
if (pending->newly_attached &&
|
||||
((!cairo_region_is_empty (pending->surface_damage) ||
|
||||
!cairo_region_is_empty (pending->buffer_damage)) ||
|
||||
((!mtk_region_is_empty (pending->surface_damage) ||
|
||||
!mtk_region_is_empty (pending->buffer_damage)) ||
|
||||
!priv->buffer))
|
||||
update_cursor_sprite_texture (META_WAYLAND_CURSOR_SURFACE (surface_role));
|
||||
}
|
||||
|
Reference in New Issue
Block a user