screenshot: Make screencast area indicator hidden from pick
It's a non-reactive actor on top of most of the stage. Set it as hidden from pick so it doesn't break in-Shell DnD. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5083 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2192>
This commit is contained in:
parent
6c42c32d61
commit
5fb5c9f75e
@ -1047,6 +1047,7 @@ var ScreenshotUI = GObject.registerClass({
|
|||||||
GObject.BindingFlags.DEFAULT);
|
GObject.BindingFlags.DEFAULT);
|
||||||
// Add it directly to the stage so that it's above popup menus.
|
// Add it directly to the stage so that it's above popup menus.
|
||||||
global.stage.add_child(this._screencastAreaIndicator);
|
global.stage.add_child(this._screencastAreaIndicator);
|
||||||
|
Shell.util_set_hidden_from_pick(this._screencastAreaIndicator, true);
|
||||||
|
|
||||||
Main.layoutManager.screenshotUIGroup.add_child(this);
|
Main.layoutManager.screenshotUIGroup.add_child(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user