From 988f9964075f2ee91cc824b6d9ae5cb7f3948058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Sun, 31 May 2020 23:05:45 +0200 Subject: [PATCH] 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 5002c5078..e11ffd896 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); }