From 06df79286d987b4ff515fdefb3b877a98525876e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Fri, 19 Jun 2020 14:13:12 +0200 Subject: [PATCH] windowPreview: Adapt to ClutterActor API changes The API of clutter_actor_allocate_preferred_size() changed with https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1310, so adapt to this change and pass the origin to the function. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1322 --- js/ui/windowPreview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js index 48d42c87d..5630ba5e3 100644 --- a/js/ui/windowPreview.js +++ b/js/ui/windowPreview.js @@ -97,7 +97,7 @@ var WindowPreviewLayout = GObject.registerClass({ child.allocate(childBox); } else { - child.allocate_preferred_size(); + child.allocate_preferred_size(0, 0); } } }