[gnome-shell] popupMenu: Raise menu when popping it up



commit 7f767c49d8f7279c561e9cdeaf2ca6bdd47ad634
Author: Ray Strode <rstrode redhat com>
Date:   Mon Aug 29 12:04:17 2011 -0400

    popupMenu: Raise menu when popping it up
    
    When a menu gets popped up, it should never
    pop behind anything else in the shell.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=657082

 js/ui/popupMenu.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index afa851d..7b28108 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -1112,6 +1112,8 @@ PopupMenu.prototype = {
         this._boxPointer.setPosition(this.sourceActor, this._alignment);
         this._boxPointer.show(animate);
 
+        this.actor.raise_top();
+
         this.emit('open-state-changed', true);
     },
 



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