mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
popupMenu: Fix another child popup regression
When switching menus, we need to make sure we close all existing grabs, not just the first one. https://bugzilla.gnome.org/show_bug.cgi?id=695859
This commit is contained in:
parent
e6469df065
commit
6fd5f0e3de
1 changed files with 3 additions and 3 deletions
|
|
@ -2110,9 +2110,9 @@ const PopupMenuManager = new Lang.Class({
|
|||
},
|
||||
|
||||
get activeMenu() {
|
||||
let actor = this._grabHelper.currentGrab.actor;
|
||||
if (actor)
|
||||
return actor._delegate;
|
||||
let firstGrab = this._grabHelper.grabStack[0];
|
||||
if (firstGrab)
|
||||
return firstGrab.actor._delegate;
|
||||
else
|
||||
return null;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue