From d85f97c744f5e9eb5abe22a806f5678543b6290e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 28 Aug 2014 19:43:05 +0200 Subject: [PATCH] grabHelper: Adjust to property name change Commit bbfa616f275cdd41c052 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). --- js/ui/grabHelper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 4474e4921..a2a1cb55d 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -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: