No need to Check for grabbed menus on hot corner enter/click
We never get enter events anyway due to the menu code, and if the user clicks on a non-menu the menu is removed and ungrabbed before the target actor gets the event anyway. https://bugzilla.gnome.org/show_bug.cgi?id=642881
This commit is contained in:
parent
fbf7528728
commit
e3511127c7
@ -1040,8 +1040,6 @@ Panel.prototype = {
|
||||
},
|
||||
|
||||
_onHotCornerEntered : function() {
|
||||
if (this._menus.grabbed)
|
||||
return false;
|
||||
if (!this._hotCornerEntered) {
|
||||
this._hotCornerEntered = true;
|
||||
if (!Main.overview.animationInProgress) {
|
||||
@ -1055,8 +1053,6 @@ Panel.prototype = {
|
||||
},
|
||||
|
||||
_onHotCornerClicked : function() {
|
||||
if (this._menus.grabbed)
|
||||
return false;
|
||||
if (!Main.overview.animationInProgress) {
|
||||
this._maybeToggleOverviewOnClick();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user