From 9823a0f6c94d1fc472e4c495d619ea318f1ee597 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Tue, 30 Jun 2020 17:00:11 +0800 Subject: [PATCH] background-content: Fix an x/y mixup Fortunately the coordinate is local and always (0,0) so it didn't break anything. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1341 --- src/compositor/meta-background-content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor/meta-background-content.c b/src/compositor/meta-background-content.c index daecf2676..df0ab763e 100644 --- a/src/compositor/meta-background-content.c +++ b/src/compositor/meta-background-content.c @@ -497,7 +497,7 @@ meta_background_content_paint_content (ClutterContent *content, clutter_actor_get_content_box (actor, &actor_box); actor_pixel_rect.x = actor_box.x1; - actor_pixel_rect.y = actor_box.x1; + actor_pixel_rect.y = actor_box.y1; actor_pixel_rect.width = actor_box.x2 - actor_box.x1; actor_pixel_rect.height = actor_box.y2 - actor_box.y1;