mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
overview: Make sure that we put the desktop clone at the right place
This ensures that the desktop window's smooth fadeout when going to the overview is in the same spot as the desktop window, which may not always be at 0, 0. https://bugzilla.gnome.org/show_bug.cgi?id=681159
This commit is contained in:
parent
6487cd8c6f
commit
4f56fb125e
1 changed files with 3 additions and 1 deletions
|
|
@ -470,7 +470,9 @@ const Overview = new Lang.Class({
|
|||
if (windows.length == 0)
|
||||
return null;
|
||||
|
||||
let clone = new Clutter.Clone({ source: windows[0].get_texture() });
|
||||
let window = windows[0];
|
||||
let clone = new Clutter.Clone({ source: window.get_texture(),
|
||||
x: window.x, y: window.y });
|
||||
clone.source.connect('destroy', Lang.bind(this, function() {
|
||||
clone.destroy();
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue