mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
shaped-texture: Stop using gdk rect helper
We have our own version, just use that. https://gitlab.gnome.org/GNOME/mutter/merge_requests/362
This commit is contained in:
parent
1755a8b8de
commit
d3301d6b53
@ -1072,9 +1072,7 @@ meta_shaped_texture_get_image (MetaShapedTexture *stex,
|
||||
|
||||
if (clip != NULL)
|
||||
{
|
||||
/* GdkRectangle is just a typedef of cairo_rectangle_int_t,
|
||||
* so we can use the gdk_rectangle_* APIs on these. */
|
||||
if (!gdk_rectangle_intersect (&texture_rect, clip, clip))
|
||||
if (!meta_rectangle_intersect (&texture_rect, clip, clip))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user