[gnome-shell/gbsneto/content-part2: 2/3] overview: Switch to MetaWindowContent



commit 628b34e96ffee2b0ce6b58b4748087cc71576135
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Oct 16 18:17:47 2019 +0200

    overview: Switch to MetaWindowContent

 js/ui/overview.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 0b547c2be9..426497a9dd 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -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();
         });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]