[mutter/wip/rstrode/rhel-8.0.0: 66/117] shaped-texture: Stop using gdk rect helper
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/rstrode/rhel-8.0.0: 66/117] shaped-texture: Stop using gdk rect helper
- Date: Sun, 17 Feb 2019 17:28:22 +0000 (UTC)
commit 06be60bc72bd96f098b4d61bd350c46ac955c64e
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Thu Dec 20 17:21:26 2018 +0100
shaped-texture: Stop using gdk rect helper
We have our own version, just use that.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/362
src/compositor/meta-shaped-texture.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c
index 68098a536..6cde86390 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -940,9 +940,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]