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); } } }