From 628b34e96ffee2b0ce6b58b4748087cc71576135 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 16 Oct 2019 18:17:47 +0200 Subject: [PATCH] overview: Switch to MetaWindowContent --- js/ui/overview.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/ui/overview.js b/js/ui/overview.js index 0b547c2be..426497a9d 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -400,8 +400,12 @@ var Overview = class { return null; let window = windows[0]; - let clone = new Clutter.Clone({ source: window, - x: window.x, y: window.y }); + let clone = new Clutter.Actor({ + source: window.content, + request_mode: Clutter.RequestMode.CONTENT_SIZE, + x: window.x, + y: window.y, + }); clone.source.connect('destroy', () => { clone.destroy(); });