1
0
Fork 0

shaped-texture: Make set_opaque_region() private

The shell doesn't use it and I couldn't find any extensions that does
and it probably doesn't make much sense any more these days anyway.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1334
This commit is contained in:
Robert Mader 2020-06-28 23:43:56 +02:00
parent 37256cb76b
commit bb4e87bf35
2 changed files with 2 additions and 4 deletions

View file

@ -68,5 +68,7 @@ int meta_shaped_texture_get_height (MetaShapedTexture *stex);
void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
cairo_region_t *clip_region);
void meta_shaped_texture_set_opaque_region (MetaShapedTexture *stex,
cairo_region_t *opaque_region);
#endif

View file

@ -51,10 +51,6 @@ META_EXPORT
void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex,
CoglTexture *mask_texture);
META_EXPORT
void meta_shaped_texture_set_opaque_region (MetaShapedTexture *stex,
cairo_region_t *opaque_region);
META_EXPORT
cairo_surface_t * meta_shaped_texture_get_image (MetaShapedTexture *stex,
cairo_rectangle_int_t *clip);