[gnome-shell/gnome-3-22] screenShield: Raise lightbox on blank
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-22] screenShield: Raise lightbox on blank
- Date: Thu, 3 Nov 2016 20:17:07 +0000 (UTC)
commit 931d36407933f77075bb8386c5cb7f678333c9e6
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Nov 3 19:06:26 2016 +0100
screenShield: Raise lightbox on blank
The lightboxes used for screen blanking are created during initialization
and shown each time the screen should blank. During the (potentially long)
time where the lightbox is hidden, any actor could be raised above the
lightbox - in particular any popup menu raises itself to the top when
opened. To not exclude those elements from screen blanking, raise the
lightbox every time it is shown.
https://bugzilla.gnome.org/show_bug.cgi?id=773875
js/ui/screenShield.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index c6202fe..8918910 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -847,6 +847,7 @@ const ScreenShield = new Lang.Class({
},
_activateFade: function(lightbox, time) {
+ Main.uiGroup.set_child_above_sibling(lightbox.actor, null);
lightbox.show(time);
if (this._becameActiveId == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]