mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
overview: Switch to MetaWindowContent
This commit is contained in:
parent
5743b52ec8
commit
628b34e96f
1 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue