screenshot: Always raise UI to top when opening
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>
This commit is contained in:
parent
67a1d3b262
commit
d14bb7b536
@ -1506,6 +1506,10 @@ var ScreenshotUI = GObject.registerClass({
|
|||||||
// pop their grabs.
|
// pop their grabs.
|
||||||
Main.layoutManager.emit('system-modal-opened');
|
Main.layoutManager.emit('system-modal-opened');
|
||||||
|
|
||||||
|
const { screenshotUIGroup } = Main.layoutManager;
|
||||||
|
screenshotUIGroup.get_parent().set_child_above_sibling(
|
||||||
|
screenshotUIGroup, null);
|
||||||
|
|
||||||
const grabResult = this._grabHelper.grab({
|
const grabResult = this._grabHelper.grab({
|
||||||
actor: this,
|
actor: this,
|
||||||
onUngrab: () => this.close(),
|
onUngrab: () => this.close(),
|
||||||
|
Loading…
Reference in New Issue
Block a user