From 7f767c49d8f7279c561e9cdeaf2ca6bdd47ad634 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 29 Aug 2011 12:04:17 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index afa851d44..7b28108de 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); },