mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
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
This commit is contained in:
parent
b8524504f4
commit
9823a0f6c9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user