[gnome-shell] screenshot: Always raise UI to top when opening
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] screenshot: Always raise UI to top when opening
- Date: Mon, 4 Jul 2022 14:36:03 +0000 (UTC)
commit d14bb7b536625605e9e208650c817d698cfc5bb2
Author: Alynx Zhou <alynx zhou gmail com>
Date: Mon Jul 4 12:01:41 2022 +0800
screenshot: Always raise UI to top when opening
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>
js/ui/screenshot.js | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js
index a84cd0a44b..bdbf7134fe 100644
--- a/js/ui/screenshot.js
+++ b/js/ui/screenshot.js
@@ -1506,6 +1506,10 @@ var ScreenshotUI = GObject.registerClass({
// pop their grabs.
Main.layoutManager.emit('system-modal-opened');
+ const { screenshotUIGroup } = Main.layoutManager;
+ screenshotUIGroup.get_parent().set_child_above_sibling(
+ screenshotUIGroup, null);
+
const grabResult = this._grabHelper.grab({
actor: this,
onUngrab: () => this.close(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]