[gnome-shell] workspace: Also hide attached dialogs in WindowClone from picking



commit 988f9964075f2ee91cc824b6d9ae5cb7f3948058
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Sun May 31 23:05:45 2020 +0200

    workspace: Also hide attached dialogs in WindowClone from picking
    
    As explained in the comment in _init() of WindowClone, we hide the
    actual clone from picking so it doesn't interfere with XDND.
    
    This description applies to the clones of the attached dialogs just as
    well though, so hide the clones of attached dialogs from picking, too.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1293

 js/ui/workspace.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 5002c50788..e11ffd8966 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -239,6 +239,9 @@ var WindowClone = GObject.registerClass({
 
             this._onMetaWindowSizeChanged();
         });
+
+        Shell.util_set_hidden_from_pick(clone, true);
+
         this.add_child(clone);
     }
 


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