overview: Switch to MetaWindowContent
This commit is contained in:
parent
5743b52ec8
commit
628b34e96f
@ -400,8 +400,12 @@ var Overview = class {
|
|||||||
return null;
|
return null;
|
||||||
|
|
||||||
let window = windows[0];
|
let window = windows[0];
|
||||||
let clone = new Clutter.Clone({ source: window,
|
let clone = new Clutter.Actor({
|
||||||
x: window.x, y: window.y });
|
source: window.content,
|
||||||
|
request_mode: Clutter.RequestMode.CONTENT_SIZE,
|
||||||
|
x: window.x,
|
||||||
|
y: window.y,
|
||||||
|
});
|
||||||
clone.source.connect('destroy', () => {
|
clone.source.connect('destroy', () => {
|
||||||
clone.destroy();
|
clone.destroy();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user