overview: Switch to MetaWindowContent
This commit is contained in:
parent
5743b52ec8
commit
628b34e96f
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user