mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
grabHelper: Adjust to property name change
Commit bbfa616f27 renamed _ignoreRelease to _ignoreUntilRelease
in some places, but not others, which broke GrabHelper.ignoreRelease().
Complete the name change to fix the fallout (e.g. app launcher menus
closing on button release).
This commit is contained in:
parent
98847f2279
commit
d85f97c744
1 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ const GrabHelper = new Lang.Class({
|
|||
this._grabStack = [];
|
||||
|
||||
this._actors = [];
|
||||
this._ignoreRelease = false;
|
||||
this._ignoreUntilRelease = false;
|
||||
|
||||
this._modalCount = 0;
|
||||
},
|
||||
|
|
@ -215,7 +215,7 @@ const GrabHelper = new Lang.Class({
|
|||
|
||||
_popGrabHelper(this);
|
||||
|
||||
this._ignoreRelease = false;
|
||||
this._ignoreUntilRelease = false;
|
||||
|
||||
Main.popModal(this._owner);
|
||||
global.sync_pointer();
|
||||
|
|
@ -228,7 +228,7 @@ const GrabHelper = new Lang.Class({
|
|||
// like the ComboBoxMenu that go away on press, but need to eat
|
||||
// the next release event.
|
||||
ignoreRelease: function() {
|
||||
this._ignoreRelease = true;
|
||||
this._ignoreUntilRelease = true;
|
||||
},
|
||||
|
||||
// ungrab:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue