Add scaffolding for the new screenshot UI

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>
This commit is contained in:
Ivan Molodetskikh
2021-08-16 10:16:19 +03:00
committed by Marge Bot
parent 81f62e9df8
commit 8ebc478f0f
4 changed files with 107 additions and 2 deletions

View File

@ -256,6 +256,12 @@ var LayoutManager = GObject.registerClass({
this.addTopChrome(this.keyboardBox);
this._keyboardHeightNotifyId = 0;
this.screenshotUIGroup = new St.Widget({
name: 'screenshotUIGroup',
layout_manager: new Clutter.BinLayout(),
});
this.addTopChrome(this.screenshotUIGroup);
// A dummy actor that tracks the mouse or text cursor, based on the
// position and size set in setDummyCursorGeometry.
this.dummyCursor = new St.Widget({ width: 0, height: 0, opacity: 0 });