ActivitiesButton: close the dummy menu when activating the button

We need to close the menu to make sure that any grabs held by
the PopupMenuManager are released, and events are properly delivered.

https://bugzilla.gnome.org/show_bug.cgi?id=707852
This commit is contained in:
Giovanni Campagna 2013-09-20 14:09:29 +02:00
parent 31d3e82aa8
commit b9d935af0c

View File

@ -611,6 +611,7 @@ const ActivitiesButton = new Lang.Class({
_onButtonRelease: function() {
Main.overview.toggle();
this.menu.close();
},
_onKeyRelease: function(actor, event) {