overview: Switch to MetaWindowContent

This commit is contained in:
Georges Basile Stavracas Neto 2019-10-16 18:17:47 +02:00
parent 5743b52ec8
commit 628b34e96f

View File

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