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
This commit is contained in:
Jonas Dreßler 2020-05-31 23:05:45 +02:00 committed by Florian Müllner
parent 315c8820ca
commit 988f996407

View File

@ -239,6 +239,9 @@ var WindowClone = GObject.registerClass({
this._onMetaWindowSizeChanged();
});
Shell.util_set_hidden_from_pick(clone, true);
this.add_child(clone);
}