[gnome-shell] osdWindow: Make sure the OSD is always our topmost chrome element



commit 6c527c1bb4d28dadfea80e57e4570cc4c5496c9e
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu May 30 14:29:31 2013 +0200

    osdWindow: Make sure the OSD is always our topmost chrome element
    
    In particular this fixes the OSD showing up behind a modal dialog's
    lightbox.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701269

 js/ui/osdWindow.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/osdWindow.js b/js/ui/osdWindow.js
index b0a70e1..09d0354 100644
--- a/js/ui/osdWindow.js
+++ b/js/ui/osdWindow.js
@@ -138,6 +138,7 @@ const OsdWindow = new Lang.Class({
         if (!this.actor.visible) {
             this.actor.show();
             this.actor.opacity = 0;
+            this.actor.get_parent().set_child_above_sibling(this.actor, null);
 
             Tweener.addTween(this.actor,
                              { opacity: 255,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]