grabHelper: Fix up event handling for ignoring releases

We need to return 'true' to signify that we handled the event.

https://bugzilla.gnome.org/show_bug.cgi?id=689109
This commit is contained in:
Jasper St. Pierre 2012-12-04 15:11:06 -05:00
parent 066e5cddb5
commit 8dc63932fc

View File

@ -310,7 +310,7 @@ const GrabHelper = new Lang.Class({
if (release && this._ignoreRelease) {
this._ignoreRelease = false;
return false;
return true;
}
if (!button && this._modalCount == 0)